:root {
    --primary: #008080; /* Teal */
    --primary-dark: #005f5f;
    --accent: #6366f1; /* Indigo */
    --accent-light: #a5b4fc;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

/* Navbar */
.navbar {
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 48px;
    width: auto;
    mix-blend-mode: screen; /* Transparency for black-bg logo */
    filter: brightness(1.5);
}

.brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 1px;
    transition: var(--transition);
}

.navbar.scrolled .brand {
    color: var(--primary); /* Teal when scrolled */
}

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

.nav-links a {
    text-decoration: none;
    color: var(--white); /* White by default on hero */
    font-weight: 500;
    transition: var(--transition);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3); /* Sublte shadow for legibility */
}

.navbar.scrolled .nav-links a {
    color: var(--dark); /* Dark when scrolled */
    text-shadow: none;
}

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

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

/* Hero Section */
.hero {
    height: 100vh;
    background: url('assets/hero_bg.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--white);
    padding-top: 80px;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(0, 128, 128, 0.4));
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.highlight {
    color: var(--primary);
    background: linear-gradient(120deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

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

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-accent {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
}

/* Services */
.services {
    padding: 6rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
}

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

.card {
    background: var(--light);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--primary);
}

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

/* Systems Section */
.systems-links {
    padding: 6rem 0;
    background: #f1f5f9;
}

.flexbox-reverse {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.system-list {
    list-style: none;
    margin-top: 2rem;
}

.system-list li {
    margin-bottom: 1rem;
}

.system-list a {
    text-decoration: none;
    color: var(--dark);
    font-size: 1.2rem;
    font-weight: 600;
    transition: var(--transition);
}

.system-list a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.glass-box {
    width: 400px;
    height: 300px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.inner-circ {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    background: var(--dark);
    color: var(--white);
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
}

.copyright {
    margin-top: 3rem;
    font-size: 0.9rem;
    color: var(--gray);
}

/* WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    min-width: 60px; /* Ensure size */
    min-height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
    z-index: 10001; /* Higher than everything */
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-btn svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar .container {
        padding: 0 1rem;
    }
    
    .nav-links { display: none; }
    
    .logo img {
        height: 38px;
    }
    
    .brand {
        font-size: 1.1rem;
    }
    
    .btn-primary {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .hero h1 { 
        font-size: 2.2rem; 
        line-height: 1.2;
    }
    
    .hero p { 
        font-size: 1.1rem; 
    }
    
    .cta-group {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        align-items: center;
    }
    
    .btn-large {
        width: 90%;
        padding: 1rem;
    }
}

@media (max-width: 360px) {
    .brand { display: none; }
}
