/* Contact Page Background */
.contact-page {
    background: linear-gradient(180deg, #ffffff 0%, #fff9e6 50%, #fff4b3 100%);
    min-height: 100vh;
}

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #6c7b7f, #5a6c75);
    border-radius: 20px;
    margin: 20px auto;
    max-width: 1200px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.contact-hero-content {
    text-align: center;
    padding: 80px 40px;
    width: 100%;
}

.contact-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: white;
}

.contact-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* Hide entire hero section on small screens */
@media (max-width: 768px) {
    .contact-hero { display: none; }
}

/* Main Content */
.contact-main {
    padding: 60px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Contact Form Section */
.contact-form-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px 0;
}

.contact-form-section p {
    color: #6c757d;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

/* Mobile: center align form section heading and description */
@media (max-width: 768px) {
    .contact-form-section h2,
    .contact-form-section p {
        text-align: center;
    }
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row:first-child,
.form-row:nth-child(3),
.form-row:last-child {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

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

.btn-primary {
    background: linear-gradient(135deg, #ff2a2a, #ffd700);
    color: #0B2545;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e6251f, #f1c40f);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 42, 42, 0.4);
}

/* Contact Info Section */
.contact-info-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px 0;
}

.contact-info-section p {
    color: #6c757d;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

/* Mobile: center align contact info heading and description */
@media (max-width: 768px) {
    .contact-info-section h2,
    .contact-info-section p {
        text-align: center;
    }
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon.phone {
    background: linear-gradient(135deg, #ff2a2a, #ffd700);
}

.contact-icon.email {
    background: linear-gradient(135deg, #ff2a2a, #ffd700);
}

.contact-icon.whatsapp {
    background: linear-gradient(135deg, #ff2a2a, #ffd700);
}

.contact-icon.location {
    background: linear-gradient(135deg, #ff2a2a, #ffd700);
}

.contact-icon.hours {
    background: linear-gradient(135deg, #ff2a2a, #ffd700);
}

.contact-icon i {
    font-size: 20px;
    color: #0B2545;
}

.contact-details h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 6px 0;
}

.contact-details p {
    font-size: 16px;
    color: #2c3e50;
    margin: 0 0 4px 0;
}

.contact-details span {
    font-size: 14px;
    color: #6c757d;
}

/* Success/Error Messages */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #28a745;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #dc3545;
}

.error-message ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

/* Find Us Section */
.find-us-section {
    padding: 60px 0;
    margin-top: 40px;
}

.find-us-content h2 {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin: 0 0 12px 0;
}

.find-us-content p {
    font-size: 18px;
    color: #6c757d;
    text-align: center;
    margin: 0 0 40px 0;
}

.map-container {
    position: relative;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-info {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
}

.location-details h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 4px 0;
}

.location-details p {
    font-size: 14px;
    color: #6c757d;
    margin: 0 0 15px 0;
    text-align: left;
}

.map-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #4285f4;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.directions-btn:hover {
    background: #3367d6;
}

.map-link {
    color: #4285f4;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.map-link:hover {
    text-decoration: underline;
}

.map-embed {
    width: 100%;
    height: 400px;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        margin: 10px;
        border-radius: 15px;
    }
    
    .contact-hero-content {
        padding: 60px 20px;
    }
    
    .contact-hero h1 {
        font-size: 36px;
    }
    
    .contact-hero p {
        font-size: 16px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-form-section h2,
    .contact-info-section h2 {
        font-size: 28px;
    }
    
    .contact-method {
        padding: 15px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
    }
    
    .contact-icon i {
        font-size: 18px;
    }
    
    .find-us-content h2 {
        font-size: 32px;
    }
    
    .find-us-content p {
        font-size: 16px;
    }
    
    .map-info {
        position: static;
        margin-bottom: 20px;
        border-radius: 12px;
    }
    
    .map-embed {
        height: 300px;
    }
}

