:root {
    --primary-color: #00aaff;
    --secondary-color: #0a2540;
    --background-color: #041020;
    --text-color: #e0e0e0;
    --card-bg-color: #0a192f;
    --border-color: #1a3a5e;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header --- */
.header {
    background-color: rgba(4, 16, 32, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

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

.logo {
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

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

/* --- Hero Section --- */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image:
        linear-gradient(rgba(4, 16, 32, 0.8), rgba(4, 16, 32, 1)),
        url('https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.hero-content h1::after {
    content: '|';
    animation: blink 0.7s infinite;
}
@keyframes blink {
    50% { opacity: 0; }
}


.subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    font-weight: 300;
}

/* --- Buttons --- */
.cta-button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: #0088cc;
    transform: translateY(-2px);
}

.nav-cta {
    padding: 8px 20px;
}

/* --- Sections --- */
.services-section, .about-section, .contact-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 600;
    color: #fff;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
}

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

.service-card {
    background-color: var(--card-bg-color);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 170, 255, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

/* --- About & Contact Section --- */
.about-section, .contact-section {
    background-color: var(--secondary-color);
}
.about-section .container, .contact-section .container {
    max-width: 800px;
    text-align: center;
}

.about-section p, .contact-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.whatsapp-button {
    background-color: #25D366;
}
.whatsapp-button:hover {
    background-color: #1DAA53;
}
.whatsapp-button i {
    margin-right: 8px;
    vertical-align: middle;
}
.phone-number {
    font-size: 1rem;
    margin-top: 20px !important;
    margin-bottom: 0 !important;
}


/* --- Footer --- */
.footer {
    background-color: var(--background-color);
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
}

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

.social-links a {
    color: var(--text-color);
    margin-left: 15px;
    transition: color 0.3s ease;
}

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

/* Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- Responsive Design --- */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Simple hiding for mobile, can be replaced with a hamburger menu */
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .subtitle {
        font-size: 1rem;
    }
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
    .social-links {
        margin-top: 15px;
    }
     .social-links a {
        margin: 0 10px;
    }
}

/* --- AI Chatbot --- */
#chat-bubble {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 170, 255, 0.3);
    z-index: 1001;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

#chat-bubble:hover {
    transform: scale(1.1);
    background-color: #0088cc;
}

#chat-widget {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 350px;
    max-width: 90vw;
    height: 500px;
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

#chat-widget.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

#chat-header {
    background-color: var(--secondary-color);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    color: #fff;
}

#chat-header > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-header-icon {
    color: var(--primary-color);
}

#chat-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

#chat-close {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
}

#chat-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-message {
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
    line-height: 1.4;
}

.chat-message.bot {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border-bottom-left-radius: 3px;
    align-self: flex-start;
}

.chat-message.user {
    background-color: var(--primary-color);
    color: #fff;
    border-bottom-right-radius: 3px;
    align-self: flex-end;
}

.chat-message.typing {
    align-self: flex-start;
    color: #888;
    font-style: italic;
}

#chat-form {
    display: flex;
    padding: 10px;
    border-top: 1px solid var(--border-color);
    background-color: var(--secondary-color);
}

#chat-input {
    flex-grow: 1;
    border: 1px solid var(--border-color);
    background-color: var(--background-color);
    color: var(--text-color);
    border-radius: 5px;
    padding: 10px;
    font-family: 'Poppins', sans-serif;
}
#chat-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

#chat-form button {
    background-color: var(--primary-color);
    border: none;
    color: white;
    padding: 0 15px;
    margin-left: 10px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    #chat-widget {
        right: 15px;
        bottom: 90px;
        width: calc(100vw - 30px);
        height: 60vh;
    }
    #chat-bubble {
        right: 15px;
        bottom: 15px;
    }
}