/* Contact Page Styles */
.contact-section {
    padding: 100px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    padding-right: 30px;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--gray-color);
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 18px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.social-media {
    margin-top: 50px;
}

.social-media h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
}

.contact-form h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border-radius: 5px;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: var(--light-color);
    font-size: 16px;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid var(--primary-color);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236c63ff'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;

}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
    position: relative;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.form-message.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid #28a745;
}

.form-message.success::before {
    content: "✓ ";
    font-weight: bold;
    margin-right: 5px;
}

.form-message.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid #dc3545;
}

.form-message.error::before {
    content: "⚠ ";
    font-weight: bold;
    margin-right: 5px;
}

.map-section {
    padding-bottom: 100px;
    position: relative;
    overflow: visible;
}

.map-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            rgba(23, 31, 58, 0.1) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(23, 31, 58, 0.1) 100%);
}

.map-section iframe {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 992px) {

    .service-detail,
    .service-detail:nth-child(even) {
        flex-direction: column;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .mission-vision {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 36px;
    }

    .service-detail-content h2 {
        font-size: 28px;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .page-hero {
        padding: 150px 0 80px;
    }

    .page-title {
        font-size: 30px;
    }

    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-section h2 {
        font-size: 28px;
    }
}