:root {
    /* Color Palette - Modern Corporate Blue */
    --primary-color: #0000FF;
    --primary-dark: #0000cc;
    --primary-light: #e6e6ff;
    --accent-color: #00c4cc;
    /* Cyan accent for "Print" or highlights */

    --text-main: #2c3e50;
    --text-light: #6c757d;
    --bg-body: #f8f9fa;
    --bg-card: #ffffff;

    --success: #28a745;
    --error: #dc3545;

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Spacing */
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-body);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 0, 255, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 196, 204, 0.03) 0%, transparent 20%);
}

h1,
h2,
h3,
h4,
.brand-logo {
    font-family: 'Montserrat', sans-serif;
}

.container {
    width: 90%;
    max-width: 1100px;
    /* Wider for modern look */
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.back-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 100px 0 140px;
    /* Extra padding bottom for overlap */
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.95;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Form Section */
.form-section {
    position: relative;
    z-index: 10;
    padding-bottom: 80px;
}

.form-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 50px;
    margin-top: -100px;
    /* Overlap effect */
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.form-header h2 {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.form-header i {
    color: var(--primary-color);
    margin-right: 12px;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.optional {
    font-weight: 400;
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    transition: var(--transition);
    font-size: 1.1rem;
    pointer-events: none;
    /* Allows clicking through to input */
}

/* Input Focus Effects */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 16px 20px 16px 50px;
    /* Space for icon */
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f9f9f9;
}

textarea {
    resize: vertical;
    padding: 20px;
    /* Reset padding for textarea */
    min-height: 120px;
}

/* Adjust textarea if it doesn't have an icon container logic, or wrap it properly */
.input-wrapper textarea {
    padding-left: 20px;
    /* No icon for textarea usually */
}

input:focus,
textarea:focus {
    border-color: var(--primary-color);
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 0, 255, 0.1);
}

.input-wrapper:focus-within .input-icon {
    color: var(--primary-color);
}

/* File Upload styling */
.file-upload-wrapper {
    position: relative;
    overflow: hidden;
    display: block;
}

.file-input {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    background-color: var(--bg-body);
    color: var(--text-main);
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
}

.file-label:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.file-label i {
    margin-right: 12px;
    font-size: 1.3rem;
}

.form-text {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Checkbox */
.form-check {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    margin-top: 10px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.form-check input {
    width: 22px;
    height: 22px;
    margin-right: 15px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form-check label {
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0;
    cursor: pointer;
    color: var(--text-main);
    line-height: 1.4;
}

.form-check a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    position: relative;
}

.form-check a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.form-check a:hover::after {
    transform: scaleX(1);
}


/* Actions */
.form-actions {
    grid-column: 1 / -1;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    /* Pill shape */
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 255, 0.2);
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 255, 0.25);
}

.btn-primary:active {
    transform: translateY(1px);
}

.btn i {
    margin-left: 12px;
    transition: transform 0.3s;
}

.btn-primary:hover i {
    transform: translateX(5px) rotate(-10deg);
}

/* Messages */
.form-message {
    grid-column: 1 / -1;
    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    display: none;
    /* Hidden by default */
}

.form-message.success {
    display: block;
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c6cb;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 40px 0;
    color: var(--text-light);
    font-size: 0.9rem;
    background-color: #fff;
    border-top: 1px solid #f0f0f0;
}

.site-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Contact Section */
.contact-section {
    padding: 100px 0 80px;
    background-color: #f8f9fa;
    position: relative;
    z-index: 5;
    border-top: 1px solid #e9ecef;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.contact-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 255, 0.08);
    /* Primary color opacity */
    width: 80px;
    height: 80px;
    border-radius: 50%;
    transition: var(--transition);
}

.contact-card:hover .contact-icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--text-main);
    font-weight: 700;
}

.contact-card p,
.contact-card a {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 8px;
    display: block;
    text-decoration: none;
    line-height: 1.6;
}

.contact-card a:hover {
    color: var(--primary-color);
}

/* Invoice specifically */
.contact-details {
    text-align: left;
    display: inline-block;
    width: 100%;
    max-width: 250px;
    margin-top: 10px;
}

.contact-item {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.contact-label {
    font-weight: 700;
    color: var(--text-main);
    margin-right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .form-card {
        padding: 30px;
        margin-top: -60px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* GDPR Page Specifics */
.gdpr-section {
    padding: 80px 0;
    line-height: 1.8;
    background-color: var(--bg-light);
}

.gdpr-header {
    text-align: center;
    margin-bottom: 60px;
}

.gdpr-header h1 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.gdpr-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* GDPR Cards */
.gdpr-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.gdpr-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.gdpr-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.gdpr-card h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 15px;
}

.gdpr-card h2 i {
    color: var(--primary-color);
    font-size: 1.2em;
    background: rgba(0, 0, 255, 0.1);
    padding: 10px;
    border-radius: 10px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gdpr-card p {
    margin-bottom: 15px;
    color: var(--text-main);
}

.gdpr-card ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
    color: var(--text-main);
}

.gdpr-card li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.gdpr-card li::before {
    content: "\f058";
    /* Check circle icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success);
    margin-right: 10px;
}

.gdpr-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.gdpr-card a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gdpr-header h1 {
        font-size: 2rem;
    }

    .gdpr-card {
        padding: 25px;
    }

    .gdpr-card h2 {
        font-size: 1.3rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .gdpr-card h2 i {
        margin-bottom: 5px;
    }
}