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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

h1, h2, h3 {
    margin-bottom: 20px;
    color: #003366;
}

a {
    text-decoration: none;
    color: #003366;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #003366;
    color: #fff;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #002244;
}

/* Form Response */
.form-response {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.form-response.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-response.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
}

/* Success button styling */
.success-btn {
    background-color: #28a745 !important;
    color: white !important;
    border-color: #28a745 !important;
    border: 1px solid #f5c6cb;
}

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

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.appear, .slide-in-right.appear {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.appear {
    opacity: 1;
    transform: scale(1);
}

.stagger-delay-1 { transition-delay: 0.1s; }
.stagger-delay-2 { transition-delay: 0.2s; }
.stagger-delay-3 { transition-delay: 0.3s; }
.stagger-delay-4 { transition-delay: 0.4s; }
.stagger-delay-5 { transition-delay: 0.5s; }

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.header-scroll {
    padding: 5px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: rgba(255, 255, 255, 0.95);
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
}

.flag {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.flag img {
    height: 30px;
    width: auto;
    margin-right: 8px;
}

.flag span {
    font-size: 12px;
    color: #003366;
    font-weight: 600;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    padding: 8px 12px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #005599;
}

/* Register Call-to-action */
.nav-register {
    background-color: #e74c3c;
    color: #fff !important;
    border-radius: 4px;
    padding: 8px 16px !important;
    transition: background-color 0.3s;
}

.nav-register:hover {
    background-color: #c0392b;
    color: #fff !important;
}

.register-cta {
    text-align: center;
    padding: 40px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #eaeaea;
}

.register-cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.register-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: #e74c3c;
    color: #fff;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.register-btn:hover {
    background-color: #c0392b;
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #f9f9f9;
}

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

.service-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-10px);
}

.services h2, .about h2, .contact h2 {
    text-align: center;
    font-size: 2.5rem;
}

/* Pricing Boxes */
.pricing-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.pricing-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    width: 100%;
    max-width: 350px;
    text-align: center;
    border-top: 5px solid #003366;
    position: relative;
}

.pricing-banner {
    background-color: #4CAF50;
    color: white;
    padding: 8px 0;
    font-weight: bold;
    width: 80%;
    margin: 0 auto 20px auto;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pricing-box:hover {
    transform: translateY(-10px);
}

.pricing-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #003366;
}

.pricing-price {
    font-size: 2rem;
    font-weight: bold;
    color: #003366;
    margin-bottom: 25px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
}

.pricing-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #003366;
    font-weight: bold;
}

.pricing-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #003366;
    color: #fff;
    border-radius: 4px;
    transition: background-color 0.3s;
    margin-top: 15px;
}

.pricing-btn:hover {
    background-color: #002244;
}

/* About Section */
.about {
    padding: 80px 0;
}

.about p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 20px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-info, .contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-info p {
    margin-bottom: 15px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: #003366;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

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

.social-links a {
    color: #fff;
    margin-left: 15px;
    font-size: 1.2rem;
}

/* n8n Chat Widget Customization */
:root {
    --n8n-chat-bubble-bg-color: #003366;
    --n8n-chat-bubble-color: white;
    --n8n-chat-button-bg-color: #003366;
    --n8n-chat-button-color: white;
    --n8n-chat-header-bg-color: #003366;
    --n8n-chat-header-color: white;
    --n8n-chat-textarea-focus-border-color: #003366;
    --n8n-chat-textarea-focus-shadow-color: rgba(0, 51, 102, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    footer .container {
        flex-direction: column;
    }
    
    .social-links {
        margin-top: 20px;
    }
}