/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    z-index: 10000;
    padding: 15px 0;
    display: none;
}

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

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

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 14px;
}

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

.cookie-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    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;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: #4a90e2;
    letter-spacing: 1px;
}

.logo h1 a {
    color: #4a90e2;
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 35px;
}

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

.nav a:hover {
    color: #4a90e2;
}

/* Contact Section */
.contact-section {
    padding: 80px 0 100px;
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.contact-section h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #333;
    text-align: center;
}

.contact-intro {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 50px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

/* Contact Form */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.form-group.full-width {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group.half-width {
    flex: 1;
}

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

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

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: #eef7ff;
    box-shadow: 0 0 0 2px #4a90e2;
}

.contact-form textarea {
    min-height: 120px;
    font-family: 'Poppins', sans-serif;
}

.form-submit {
    text-align: right;
    margin-top: 30px;
}

.send-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.send-btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

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

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

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4a90e2;
}

/* Success Message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #28a745;
    display: none;
}

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

/* Error Message */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #dc3545;
    display: none;
}

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

/* Form Validation Styles */
.contact-form input.error,
.contact-form textarea.error {
    background: #fff5f5;
    box-shadow: 0 0 0 2px #dc3545;
}

.contact-form input.success,
.contact-form textarea.success {
    background: #f0fff4;
    box-shadow: 0 0 0 2px #28a745;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .contact-section h1 {
        font-size: 36px;
    }
    
    .contact-form {
        padding: 30px 25px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group.half-width {
        margin-bottom: 25px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .contact-section {
        padding: 60px 0 80px;
    }
    
    .contact-section h1 {
        font-size: 28px;
    }
    
    .contact-intro {
        font-size: 14px;
    }
    
    .contact-form {
        padding: 25px 20px;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .send-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .nav {
        gap: 10px;
    }
    
    .nav a {
        font-size: 12px;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Focus states for accessibility */
.send-btn:focus,
.cookie-btn:focus {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
}

.nav a:focus {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
    border-radius: 4px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
}