/* Contact Page Specific Styles */

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #0078FF 0%, #0066cc 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Info Cards */
.contact-info {
    background-color: #f8f9fa;
}

.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0078FF, #0066cc);
    color: white;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.contact-info-card h4 {
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-info-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Form Container */
.contact-form-section {
    background-color: white;
}

.form-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-content {
    padding: 3rem;
}

.form-title {
    color: #333;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Form Styling */
.contact-form {
    margin-top: 2rem;
}

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

.form-group label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0078FF;
    box-shadow: 0 0 0 3px rgba(0, 120, 255, 0.1);
}

.form-group select {
    cursor: pointer;
}

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

/* Booking Section */
.booking-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    margin: 1rem 0;
}

.booking-section h4 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.booking-section h4::before {
    content: "📅";
    font-size: 1.2rem;
}

/* File Upload */
.file-upload-section {
    margin: 1.5rem 0;
}

.file-upload-section h4 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.file-upload-section h4::before {
    content: "📎";
    font-size: 1.2rem;
}

.file-upload-area {
    border: 3px dashed #ddd;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    background-color: #fafafa;
}

.file-upload-area:hover {
    border-color: #0078FF;
    background-color: #f0f8ff;
}

.upload-icon {
    color: #0078FF;
    margin-bottom: 1rem;
}

.file-upload-area p {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.file-upload-area small {
    color: #666;
    font-size: 0.85rem;
}

.file-list {
    margin-top: 1rem;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #e9ecef;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    animation: slideIn 0.3s ease;
}

.file-item span:first-child {
    color: #333;
    font-weight: 500;
}

.file-remove {
    color: #dc3545;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 0.25rem 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.file-remove:hover {
    background-color: #dc3545;
    color: white;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Contact Preferences */
.contact-preferences {
    margin: 1.5rem 0;
}

.contact-preferences > label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-methods {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.contact-method:hover {
    background-color: #f0f8ff;
}

.contact-method input[type="radio"] {
    width: auto;
    margin: 0;
}

.contact-method span {
    color: #333;
    font-weight: 500;
}

/* Form Messages */
#form-messages {
    margin: 1rem 0;
}

.error-message,
.success-message {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f1aeb5;
}

.success-message {
    background-color: #d1edff;
    color: #0c5460;
    border: 1px solid #b8daff;
}

/* Form Buttons */
.form-buttons {
    text-align: center;
    margin-top: 2rem;
}

.btn-primary {
    background: linear-gradient(135deg, #0078FF, #0066cc);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 120, 255, 0.3);
    background: linear-gradient(135deg, #0066cc, #0055aa);
}

/* Quick Contact Sidebar */
.quick-contact {
    background: linear-gradient(135deg, #0078FF, #0066cc);
    color: white;
    padding: 3rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.quick-contact h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.quick-contact p {
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.quick-contact-buttons {
    margin-bottom: 2rem;
}

.quick-btn {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.quick-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.whatsapp-btn:hover {
    background: #25D366;
    border-color: #25D366;
}

.telegram-btn:hover {
    background: #0088cc;
    border-color: #0088cc;
}

.call-btn:hover {
    background: #28a745;
    border-color: #28a745;
}

/* Office Hours */
.office-hours {
    margin-bottom: 2rem;
}

.office-hours h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hours-list {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hour-item span:first-child {
    font-weight: 500;
}

.hour-item span:last-child {
    opacity: 0.9;
}

/* Response Time Card */
.response-time {
    margin-top: auto;
}

.response-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.response-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.response-text h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.response-text p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Footer */
.contact-footer {
    background: #333;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content h4 {
    color: #0078FF;
    margin-bottom: 0.5rem;
}

.footer-content p {
    opacity: 0.8;
    margin: 0;
}

.footer-links {
    text-align: right;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0078FF;
}

.footer-bottom {
    border-top: 1px solid #555;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.7;
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0078FF;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 120, 255, 0.3);
}

#backToTop:hover {
    background: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 120, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
    .quick-contact {
        margin-top: 2rem;
    }
    
    .form-content {
        padding: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .contact-methods {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .form-content {
        padding: 1.5rem;
    }
    
    .quick-contact {
        padding: 2rem 1.5rem;
    }
    
    .contact-methods {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-links {
        text-align: center;
        margin-top: 1rem;
    }
    
    .footer-links a {
        margin: 0 0.75rem;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .form-title {
        font-size: 2rem;
    }
    
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .file-upload-area {
        padding: 1.5rem 1rem;
    }
    
    .quick-contact-buttons .quick-btn {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

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

.contact-info-card,
.form-container {
    animation: fadeInUp 0.6s ease forwards;
}

.contact-info-card:nth-child(2) {
    animation-delay: 0.1s;
}

.contact-info-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* Loading state for form submission */
.btn-primary.loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-primary.loading::after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Dark Mode Styles for Contact Page */
body.dark .contact-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

body.dark .contact-info {
    background-color: #1a1a1a;
}

body.dark .contact-info-card {
    background: #2d2d2d;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.dark .contact-info-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

body.dark .contact-info-card h4 {
    color: #ffffff;
}

body.dark .contact-info-card p {
    color: #cccccc;
}

body.dark .contact-form-section {
    background-color: #1a1a1a;
}

body.dark .form-container {
    background: #2d2d2d;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

body.dark .form-title {
    color: #ffffff;
}

body.dark .form-subtitle {
    color: #cccccc;
}

body.dark .form-group label {
    color: #ffffff;
}

body.dark .form-group input,
body.dark .form-group select,
body.dark .form-group textarea {
    background-color: #3a3a3a;
    border-color: #555555;
    color: #ffffff;
}

body.dark .form-group input:focus,
body.dark .form-group select:focus,
body.dark .form-group textarea:focus {
    border-color: #0078FF;
    box-shadow: 0 0 0 0.2rem rgba(0, 120, 255, 0.25);
}

body.dark .form-group input::placeholder,
body.dark .form-group textarea::placeholder {
    color: #999999;
}

body.dark .file-upload-area {
    background-color: #3a3a3a;
    border-color: #555555;
}

body.dark .file-upload-area:hover {
    border-color: #0078FF;
}

body.dark .file-upload-area p {
    color: #cccccc;
}

body.dark .file-upload-area small {
    color: #999999;
}

body.dark .file-item {
    background-color: #4a4a4a;
    border-color: #555555;
}

body.dark .file-item span {
    color: #ffffff;
}

body.dark .contact-preferences > label {
    color: #ffffff;
}

body.dark .contact-method {
    background-color: #3a3a3a;
    border-color: #555555;
}

body.dark .contact-method:hover {
    background-color: #4a4a4a;
}

body.dark .contact-method span {
    color: #ffffff;
}

body.dark .quick-contact {
    background-color: #2d2d2d;
}

body.dark .quick-contact h3 {
    color: #ffffff;
}

body.dark .quick-contact p {
    color: #cccccc;
}

body.dark .quick-btn {
    background-color: #3a3a3a;
    color: #ffffff;
    border-color: #555555;
}

body.dark .quick-btn:hover {
    background-color: #4a4a4a;
}

body.dark .office-hours h4 {
    color: #ffffff;
}

body.dark .office-hours {
    background-color: #2d2d2d;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #555555;
}

body.dark .hour-item {
    background-color: #3a3a3a;
    border-color: #555555;
    border-radius: 6px;
    margin-bottom: 8px;
}

body.dark .hour-item:last-child {
    margin-bottom: 0;
}

body.dark .hour-item span {
    color: #ffffff;
}

body.dark .hour-item span:first-child {
    font-weight: 600;
    color: #ffffff;
}

body.dark .hour-item span:last-child {
    color: #cccccc;
}

body.dark .response-card {
    background-color: #3a3a3a;
    border-color: #555555;
}

body.dark .response-text h5 {
    color: #ffffff;
}

body.dark .response-text p {
    color: #cccccc;
}

body.dark .contact-footer {
    background-color: #1a1a1a;
    border-top-color: #555555;
}

body.dark .footer-content h4 {
    color: #ffffff;
}

body.dark .footer-content p {
    color: #cccccc;
}

body.dark .footer-links a {
    color: #cccccc;
}

body.dark .footer-links a:hover {
    color: #0078FF;
}

body.dark .footer-bottom p {
    color: #999999;
}

body.dark #backToTop {
    background-color: #3a3a3a;
    color: #ffffff;
    border-color: #555555;
}

body.dark #backToTop:hover {
    background-color: #0078FF;
    color: #ffffff;
}

/* Dark mode styles for booking section */
body.dark .booking-section h4 {
    color: #ffffff;
}

body.dark .booking-section {
    background-color: #2d2d2d;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #555555;
}

body.dark .booking-section .form-group label {
    color: #ffffff;
}

body.dark .booking-section .form-group input,
body.dark .booking-section .form-group select {
    background-color: #3a3a3a;
    border-color: #555555;
    color: #ffffff;
}

body.dark .booking-section .form-group input:focus,
body.dark .booking-section .form-group select:focus {
    border-color: #0078FF;
    box-shadow: 0 0 0 0.2rem rgba(0, 120, 255, 0.25);
}

/* Dark mode styles for file upload section */
body.dark .file-upload-section h4 {
    color: #ffffff;
}

/* Dark mode styles for form messages */
body.dark .error-message {
    background-color: #4a2a2a;
    border-color: #8b3a3a;
    color: #ffcccc;
}

body.dark .success-message {
    background-color: #2a4a2a;
    border-color: #3a8b3a;
    color: #ccffcc;
}

/* Dark mode styles for specific button states */
body.dark .btn-primary {
    background-color: #0078FF;
    border-color: #0078FF;
    color: #ffffff;
}

body.dark .btn-primary:hover {
    background-color: #0056cc;
    border-color: #0056cc;
}

/* Dark mode styles for info icons */
body.dark .info-icon {
    background: linear-gradient(135deg, #0078FF, #0056cc);
}

/* Dark mode styles for response icon */
body.dark .response-icon {
    background-color: #0078FF;
    color: #ffffff;
}



