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

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 20px;
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background: #007bff;
    color: white;
}

.cookie-btn.accept:hover {
    background: #0056b3;
}

.cookie-btn.decline {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-btn.decline:hover {
    background: white;
    color: #333;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

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

.nav-brand a {
    text-decoration: none;
}

.nav-brand h1 {
    color: #dc3545;
    font-size: 24px;
    font-weight: 700;
    border-bottom: 3px solid #dc3545;
    padding-bottom: 5px;
}

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

.nav-menu a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #dc3545;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

/* Main Content */
.contact-main {
    padding: 120px 0 80px;
    background: white;
    min-height: calc(100vh - 200px);
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.2;
}

.contact-header p {
    font-size: 16px;
    color: #666;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    border: none;
    border-radius: 8px;
    background: #f5f5f5;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    color: #333;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: #e8e8e8;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-weight: 400;
}

.form-group textarea {
    min-height: 150px;
    max-height: 300px;
}

.form-submit {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.submit-btn {
    background: #3b4499;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: #2d3577;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 68, 153, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-top: auto;
}

.footer-content p {
    font-size: 14px;
    line-height: 1.5;
}

.footer-content a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: white;
}

/* Form Validation Styles */
.form-group input.error,
.form-group textarea.error {
    background: #ffe6e6;
    border: 1px solid #dc3545;
}

.form-group input.success,
.form-group textarea.success {
    background: #e6ffe6;
    border: 1px solid #28a745;
}

.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .contact-main {
        padding: 100px 0 60px;
    }
    
    .contact-header h1 {
        font-size: 36px;
    }
    
    .contact-header p {
        font-size: 14px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .submit-btn {
        width: 100%;
        text-align: center;
    }
    
    .form-submit {
        justify-content: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .contact-header h1 {
        font-size: 28px;
    }
    
    .contact-form {
        gap: 15px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 15px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 15px 30px;
        font-size: 14px;
    }
    
    .cookie-text p {
        font-size: 12px;
    }
    
    .cookie-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for form submission */
.submit-btn.loading {
    position: relative;
    color: transparent;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #dc3545;
    outline-offset: 2px;
}