/* General Styles */
:root {
    --primary-dark-blue: #04070c;
    --bright-accent-blue: #09699b;
    --gold-accent: #d4af37;
    --white: #FFFFFF;
    --text-color: #E0E0E0; /* Light grey for general text on dark background */
    --light-grey: #A0A0A0;
    --dark-grey: #333333;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif; /* Using a modern sans-serif font */
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-dark-blue);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--bright-accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold-accent);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.2;
}

h1 {
    font-size: 3.2em;
    font-weight: 700;
}

h2 {
    font-size: 2.5em;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.8em;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
}

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--bright-accent-blue);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

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

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--bright-accent-blue);
    color: var(--bright-accent-blue);
}

.btn-secondary:hover {
    background-color: var(--bright-accent-blue);
    color: var(--white);
    border-color: var(--bright-accent-blue);
}

.highlight {
    color: var(--bright-accent-blue);
}

.gold-highlight {
    color: var(--gold-accent);
}

/* Header */
.header {
    background-color: var(--primary-dark-blue);
    padding: 15px 0;
    border-bottom: 1px solid var(--dark-grey);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--white);
}

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

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    color: var(--white);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--bright-accent-blue);
}

.nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--bright-accent-blue);
    transition: width 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
}

.dropdown-toggle i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-dark-blue);
    border: 1px solid var(--dark-grey);
    border-radius: 5px;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 10px 15px;
}

.dropdown-menu li a {
    color: var(--white);
    display: block;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    color: var(--bright-accent-blue);
    background-color: rgba(255, 255, 255, 0.05);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8em;
    color: var(--white);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(4, 7, 12, 0.8), rgba(4, 7, 12, 0.8)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px; /* Adjust based on header height */
}

.hero-section h1 {
    font-size: 4em;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--light-grey);
}

.hero-section .btn {
    font-size: 1.1em;
    padding: 15px 35px;
}

.hero-section-small {
    background: linear-gradient(rgba(4, 7, 12, 0.8), rgba(4, 7, 12, 0.8)), url('../images/hero-bg-small.jpg') no-repeat center center/cover;
    padding: 150px 0 80px;
    text-align: center;
    margin-top: 70px; /* Adjust based on header height */
}

.hero-section-small h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
}

.hero-section-small p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto;
    color: var(--light-grey);
}

/* Content Sections */
.content-section {
    padding: 80px 0;
    background-color: var(--primary-dark-blue);
}

.content-section.bg-light {
    background-color: #0A0F18; /* Slightly lighter dark blue */
}

.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

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

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

.card {
    background-color: #0A0F18;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.card i {
    font-size: 3em;
    color: var(--bright-accent-blue);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Features/Services List */
.content-section ul {
    list-style: none;
    padding-left: 0;
}

.content-section ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    font-size: 1.1em;
}

.content-section ul li i {
    color: var(--gold-accent);
    margin-right: 10px;
    font-size: 1.2em;
    line-height: 1.6;
}

/* Testimonials */
.testimonial-card {
    background-color: #0A0F18;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--light-grey);
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--white);
}

.testimonial-card .rating i {
    color: var(--gold-accent);
    margin-right: 2px;
}

/* CTA Section */
.cta-section {
    background-color: var(--bright-accent-blue);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.8em;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cta-section .btn {
    background-color: var(--gold-accent);
    color: var(--primary-dark-blue);
}

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

/* Footer */
.footer {
    background-color: var(--primary-dark-blue);
    color: var(--light-grey);
    padding: 60px 0 20px;
    border-top: 1px solid var(--dark-grey);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

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

.footer-col p {
    font-size: 0.95em;
    margin-bottom: 20px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.4em;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--light-grey);
}

.footer-col ul li a:hover {
    color: var(--bright-accent-blue);
}

.footer-col .icon-phone, .footer-col .icon-mail {
    margin-right: 10px;
    color: var(--bright-accent-blue);
}

.social-links a {
    color: var(--light-grey);
    font-size: 1.5em;
    margin-right: 15px;
}

.social-links a:hover {
    color: var(--bright-accent-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--dark-grey);
    font-size: 0.9em;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #0A0F18;
}

/* Chatbot Styles */
#chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: Arial, sans-serif;
}

/* Floating button */
.chatbot-button {
    background-color: var(--bright-accent-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.chatbot-button:hover {
    background-color: #075a85;
    transform: scale(1.05);
}

/* Popup window */
.chatbot-popup {
    background-color: #0e1217;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
    width: 350px;
    max-width: 95vw;
    height: 450px;
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 80px;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.chatbot-popup.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Header */
.chatbot-header {
    background-color: var(--bright-accent-blue);
    color: var(--white);
    padding: 15px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header .close-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.chatbot-header .close-btn:hover {
    transform: scale(1.2);
}

/* Messages area */
.chatbot-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: var(--primary-dark-blue);
    border-bottom: 1px solid #1a1f26;
    scroll-behavior: smooth;
}

/* Custom scrollbar */
.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}
.chatbot-messages::-webkit-scrollbar-thumb {
    background: var(--bright-accent-blue);
    border-radius: 4px;
}
.chatbot-messages::-webkit-scrollbar-track {
    background: #0e1217;
}

/* Message bubbles */
.chatbot-message {
    margin-bottom: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    max-width: 80%;
    word-wrap: break-word;
    line-height: 1.4;
    font-size: 14px;
}

/* User messages */
.chatbot-message.user {
    background-color: var(--bright-accent-blue);
    color: var(--white);
    margin-left: auto;
    text-align: right;
}

/* Bot messages */
.chatbot-message.bot {
    background-color: #1a1f26;
    color: var(--white);
    margin-right: auto;
    text-align: left;
}

/* Links inside messages */
.chatbot-message a {
    color: var(--gold-accent);
    font-weight: bold;
    text-decoration: none;
}
.chatbot-message a:hover {
    text-decoration: underline;
}

/* Input section */
.chatbot-input-container {
    display: flex;
    padding: 15px;
    background-color: #0e1217;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.chatbot-input-container input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #1a1f26;
    border-radius: 5px;
    background-color: var(--primary-dark-blue);
    color: var(--white);
    margin-right: 10px;
    font-size: 14px;
}

.chatbot-input-container input::placeholder {
    color: var(--light-grey);
}

.chatbot-input-container button {
    background-color: var(--gold-accent);
    color: var(--primary-dark-blue);
    border: none;
    border-radius: 5px;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.chatbot-input-container button:hover {
    background-color: #c0a030;
    transform: scale(1.05);
}

/* Contact Form */
.contact-form {
    max-width: 500px;
    margin: 0 auto;
    background: #0e1217;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    color: white;
    font-family: 'Segoe UI', sans-serif;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 8px;
    background: #1a1f26;
    color: #fff;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0078ff;
    box-shadow: 0 0 8px rgba(0,120,255,0.4);
    outline: none;
}

.contact-form button {
    width: 100%;
    background: #0078ff;
    color: #fff;
    padding: 14px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #005ec2;
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: var(--primary-dark-blue);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .nav.open {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .nav-list li {
        margin: 0;
        border-bottom: 1px solid #1a1f26;
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-list a {
        padding: 15px 20px;
        display: block;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        background-color: #0e1217;
        padding-left: 20px;
    }

    .dropdown-menu li a {
        padding: 10px 30px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-section h1,
    .hero-section-small h1 {
        font-size: 2.5em;
    }

    .hero-section p,
    .hero-section-small p {
        font-size: 1em;
    }

    .grid-2-cols {
        grid-template-columns: 1fr;
    }

    .grid-3-cols {
        grid-template-columns: 1fr;
    }

    .grid-4-cols {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col .footer-logo {
        justify-content: center;
    }

    .footer-col .social-links {
        justify-content: center;
        display: flex;
    }

    .chatbot-popup {
        width: 90%;
        right: 5%;
        left: 5%;
    }
}

/* Font Awesome Icons (assuming CDN or local import) */
/* You would typically link a Font Awesome CDN in your HTML head */
/* For demonstration, using placeholder classes */
.icon-check-circle::before { content: '✔'; }
.icon-facebook::before { content: 'f'; }
.icon-twitter::before { content: 't'; }
.icon-instagram::before { content: 'i'; }
.icon-linkedin::before { content: 'l'; }
.icon-phone::before { content: '📞'; }
.icon-mail::before { content: '✉'; }
.menu-icon::before { content: '☰'; }


