/* Additional Styles for Contact, About and Enhanced Footer */

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    margin-bottom: 2rem;
    color: var(--dark);
}

.about-text {
    text-align: justify;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--grey);
}

.about-text strong {
    color: var(--primary);
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--light-grey);
}

.contact-content {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-content h2 {
    margin-bottom: 1rem;
}

.contact-content p {
    font-size: 1.2rem;
    color: var(--grey);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 1.2rem;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--secondary);
}

.contact-item p {
    margin: 0;
    color: var(--grey);
    line-height: 1.5;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-light);
}

.form-group {
    margin-bottom: 0.3rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(136, 136, 148, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(12, 188, 176, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--grey);
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .cta-button {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
}

/* Autocomplete Styles */
.autocomplete-container {
    position: relative;
    width: 100%;
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid rgba(136, 136, 148, 0.2);
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.autocomplete-dropdown.show {
    display: block;
}

.autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s ease;
    font-size: 0.9rem;
    color: #333333;
    font-weight: 500;
}

.autocomplete-item:hover,
.autocomplete-item.highlighted {
    background-color: rgba(12, 188, 176, 0.1);
    color: #2d72bf;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-container input:focus + .autocomplete-dropdown {
    border-color: var(--primary);
}

/* Enhanced Footer */
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-info {
    flex: 1;
}

.footer-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-languages {
    display: flex;
    gap: 1rem;
}

.footer-languages a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-languages a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-medium);
    max-width: 400px;
}

.notification.notification-success {
    background: var(--success);
}

.notification.notification-error {
    background: #ef4444;
}

.notification.show {
    transform: translateX(0);
}

/* Loading States */
.form-loading {
    position: relative;
    pointer-events: none;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
}

.form-loading .cta-button {
    opacity: 0.7;
}

/* Enhanced Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Scroll Progress Bar */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(12, 188, 176, 0.2);
    z-index: 9999;
}

.scroll-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    transition: width 0.3s ease;
}

/* Mobile Responsive for New Sections */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .contact-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .about {
        padding: 4rem 0;
    }
    
    .about-text {
        text-align: left;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .contact {
        padding: 4rem 0;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-languages {
        justify-content: center;
    }
    
    /* Mobile form fixes */
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group {
        width: 100%;
    }
    
    .autocomplete-container {
        width: 100%;
    }
    
    .autocomplete-dropdown {
        max-height: 150px;
        left: 0;
        right: 0;
        width: 100%;
    }
    
    .autocomplete-item {
        padding: 14px 16px;
        font-size: 16px;
        color: #333333;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem 1rem;
    }
    
    .contact-item {
        padding: 1.2rem;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateX(0) translateY(-100%);
    }
    
    .notification.show {
        transform: translateX(0) translateY(0);
    }
}

/* Print Styles for Contact */
@media print {
    .contact-form,
    .notification {
        display: none;
    }
    
    .contact-info {
        display: block;
    }
    
    .contact-item {
        box-shadow: none;
        border: 1px solid #ddd;
        margin-bottom: 1rem;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        border-width: 3px;
        border-color: var(--dark);
    }
    
    .contact-item {
        border: 2px solid var(--dark);
    }
    
    .notification {
        border: 2px solid var(--dark);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .contact-item:hover,
    .fade-in-up,
    .slide-in-left,
    .slide-in-right {
        transform: none;
        transition: none;
    }
    
    .scroll-progress {
        transition: none;
    }
}