/* --------------------------------------------------------- */
/*                      CONTACT SECTION                      */
/* --------------------------------------------------------- */

.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.contact-section h2 {
    text-align: center;
}

.contact-section .subtitle {
    text-align: center;
}

.contact-wrapper {
    max-width: 1200px;
    margin: 30px auto 0;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.contact-gif-container {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-media-content {
    width: 100%;
}

.contact-gif {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    display: block;
    margin: 0 auto;
    /* Performance optimizations */
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.contact-media-text {
    margin-top: 30px;
    text-align: center;
}

.contact-media-text h3 {
    color: #16213e;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-media-text p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.contact-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.highlight-icon {
    color: #ff6b35;
    font-weight: bold;
    font-size: 1.2rem;
}

.highlight-item span:last-child {
    color: #16213e;
    font-weight: 600;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff6b35 0%, #f7931e 50%, #16213e 100%);
}

.contact-form::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #16213e;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: 0.3s;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.08);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
    margin-top: 3px;
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
    font-size: 0.9rem;
}

.gdpr-link {
    color: #ff6b35;
    text-decoration: underline;
    transition: 0.3s;
}

.gdpr-link:hover {
    color: #f7931e;
}

.submit-btn {
    width: 100%;
    padding: 13px 28px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 18px rgba(255, 107, 53, 0.25);
    position: relative;
    z-index: 1;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form Message */
.form-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-info-grid {
    display: none;
}

/* --------------------------------------------------------- */
/*                       GDPR MODAL                          */
/* --------------------------------------------------------- */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s;
}

.modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.3);
    animation: slideDown 0.4s;
    max-height: 85vh;
    overflow-y: auto;
}

.modal-content h2 {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 25px 40px;
    margin: 0;
    border-radius: 20px 20px 0 0;
    font-size: 1.8rem;
}

.modal-body {
    padding: 40px;
    color: #444;
    line-height: 1.8;
}

.modal-body p {
    margin-bottom: 20px;
}

.modal-body strong {
    color: #16213e;
}

.modal-body a {
    color: #ff6b35;
    text-decoration: none;
}

.modal-body a:hover {
    text-decoration: underline;
}

.modal-body h3 {
    color: #16213e;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.3rem;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 8px;
}

.modal-body ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.modal-body ul li {
    margin-bottom: 8px;
}

.close-modal {
    color: #fff;
    float: right;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 0 10px;
}

.close-modal:hover,
.close-modal:focus {
    color: #ff6b35;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* --------------------------------------------------------- */
/*                   BACK TO TOP BUTTON                      */
/* --------------------------------------------------------- */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.6);
}

.back-to-top:active {
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* --------------------------------------------------------- */
/*                      BRANDS BANNER                        */
/* --------------------------------------------------------- */

.brands-banner {
    padding: 60px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    overflow: hidden;
}

.brands-container {
    max-width: 1400px;
    margin: 0 auto;
}

.brands-container h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #333;
}

.brands-scroll {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brands-track {
    display: flex;
    gap: 60px;
    animation: scroll-brands 30s linear infinite;
    width: fit-content;
}

.brands-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-brands {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.brand-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 100px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}
