/* Contact Section */
.contact {
    padding: 2.5rem 0;
    background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%);
    position: relative;
    overflow: hidden;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact .section-title {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact .section-description {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    padding: 1.8rem 1.5rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0s none;
    position: relative;
    overflow: hidden;
    border: var(--card-border);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #ff4757);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateY(-5px) !important;
    background: white;
    border-color: var(--primary-color);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #ff4757);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    transition: all 0.4s ease;
}

.contact-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #ff4757);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.contact-card:hover .contact-icon::after {
    opacity: 0.3;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(10deg);
}

.contact-icon i {
    font-size: 1.4rem;
    color: white;
    transition: transform 0.4s ease;
}

.contact-card:hover .contact-icon i {
    transform: scale(1.1);
}

.contact-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #2c3e50;
    text-align: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    flex-grow: 1;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin: 0.4rem 0;
    padding: 0.6rem 0.8rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(248, 249, 250, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-item:hover {
    background: rgba(230, 0, 18, 0.08);
    border-color: rgba(230, 0, 18, 0.2);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.contact-item a {
    color: #444;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    line-height: 1.4;
    flex: 1;
    text-align: center;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-link {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    padding: 0.3rem;
    border-radius: 6px;
    position: relative;
}

.contact-link:hover {
    color: var(--primary-color);
    background: rgba(230, 0, 18, 0.05);
    transform: translateY(-1px);
}

.contact-details p {
    margin: 0.8rem 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-details a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-color);
    text-align: center;
}

.btn-location {
    background: linear-gradient(135deg, var(--primary-color), #ff4757);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-card {
        padding: 1rem;
    }
}

.btn-location::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-location:hover::before {
    left: 100%;
}

.btn-location:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(230, 0, 18, 0.3);
}

.contact-form-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.contact-form {
    padding: 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.contact-form h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.form-group select {
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

