/* Contact Page Widget Styles */

/* Header Section */
.contact-head {
    padding: 100px 0 50px;
    position: relative;
    overflow: hidden;
}

.contact-head h1 {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.contact-head .lines {
    position: absolute;
    opacity: 0.1;
    z-index: -1;
}

.contact-head .lines-top {
    top: 0;
    left: 0;
    animation: slideInRight 1s ease-out forwards;
}

.contact-head .lines-bottom {
    bottom: 0;
    right: 0;
    animation: slideInLeft 1s ease-out forwards;
}

/* Contact Section */
.contact-section {
    padding: 50px 0;
}

.contact-info h6.info-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 20px;
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.info-item {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

/* Contact Details */
.contact-form h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.contact-form address {
    font-style: normal;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.contact-info a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #007bff;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

/* Form Styles */
.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form .form-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #333;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    outline: none;
    box-shadow: none;
    border-bottom-color: #333;
}

.contact-form .form-control::placeholder {
    color: #999;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-form textarea.form-control {
    resize: none;
    min-height: 100px;
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #333;
    transition: width 0.3s ease;
}

.form-group:focus-within .input-border {
    width: 100%;
}

/* Submit Button */
.btn-submit {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-submit:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Shadow Circle */
.shadow-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -150px;
    left: -150px;
    z-index: -1;
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

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

/* Error and Success States */
.form-control.error {
    border-bottom-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.btn-submit.success {
    background-color: #28a745;
}

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

.form-group.focused .form-control {
    border-bottom-color: #007bff;
}

/* Form Messages */
.form-messages {
    margin-top: 20px;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 0.1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 0.1;
    }
}

/* Elementor Form Messages */
.elementor-message {
    margin-top: 20px;
}

.elementor-message-success,
.elementor-message-danger {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 14px;
}

.elementor-message-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.elementor-message-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-head h1 {
        font-size: 32px;
    }
    
    .contact-info h2 {
        font-size: 28px;
    }
    
    .contact-form h3 {
        font-size: 20px;
    }
    
    .contact-section .row > div {
        margin-bottom: 30px;
    }
    
    .btn-submit {
        width: 100%;
    }
}
