/* Contact Page Specific Styles */

/* Contact Header */
.contact-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3c72 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-pattern)"/></svg>');
}

.contact-header .header-content {
    position: relative;
    z-index: 2;
}

.contact-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    animation: slideInDown 0.8s ease;
}

.contact-header p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.9;
    animation: slideInUp 0.8s ease 0.2s both;
}

.breadcrumb {
    animation: slideInUp 0.8s ease 0.4s both;
}

.breadcrumb a {
    color: #ffd700;
    text-decoration: none;
}

.breadcrumb span {
    margin: 0 10px;
    opacity: 0.7;
}

/* Emergency Contact Banner */
.emergency-contact-banner {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 25px 0;
    animation: pulse-emergency 3s ease-in-out infinite;
}

@keyframes pulse-emergency {
    0%, 100% {
        box-shadow: 0 0 30px rgba(255, 107, 107, 0.4);
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 107, 107, 0.7);
    }
}

.emergency-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.emergency-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.emergency-info i {
    font-size: 2.5rem;
    animation: flash 2s infinite;
}

@keyframes flash {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.6; }
}

.emergency-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.emergency-info p {
    opacity: 0.9;
    font-size: 1rem;
}

.emergency-actions {
    display: flex;
    gap: 15px;
}

.emergency-call-btn,
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.emergency-call-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.whatsapp-btn:hover {
    background: #25d366;
    transform: translateY(-2px);
}

/* Main Contact Content */
.contact-main {
    padding: 60px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    color: #2c5aa0;
    font-size: 2.2rem;
    margin-bottom: 15px;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    transition: left 0.3s ease;
}

.contact-card:hover::before {
    left: 0;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.phone-card .card-icon {
    background: linear-gradient(45deg, #4CAF50, #45a049);
}

.email-card .card-icon {
    background: linear-gradient(45deg, #2196F3, #1976D2);
}

.location-card .card-icon {
    background: linear-gradient(45deg, #FF9800, #F57C00);
}

.whatsapp-card .card-icon {
    background: linear-gradient(45deg, #25d366, #128C7E);
}

.card-content h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.main-number,
.main-email,
.address {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.availability,
.response-time,
.hours,
.whatsapp-info {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #2c5aa0, #1e3c72);
    color: white;
    text-decoration: none;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 90, 160, 0.3);
}

.contact-btn.whatsapp {
    background: linear-gradient(45deg, #25d366, #128C7E);
}

.contact-btn.whatsapp:hover {
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* Hospital Information */
.hospital-info {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #e3f2fd, #bbdefb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c5aa0;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h4 {
    color: #2c5aa0;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.info-content p {
    color: #666;
    margin-bottom: 5px;
    line-height: 1.5;
}

.info-content strong {
    color: #333;
}

/* Contact Form */
.contact-form-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, #2c5aa0, #1e3c72);
    color: white;
    padding: 30px;
    text-align: center;
}

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.form-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.contact-form {
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
    background: white;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.consent-group label {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.consent-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #2c5aa0;
}

.consent-group a {
    color: #2c5aa0;
    text-decoration: underline;
}

.form-submit {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.submit-btn {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    animation: pulse-book-now 3s infinite;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4);
}

.form-note {
    margin-top: 20px;
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Map Section */
.map-section {
    margin-bottom: 60px;
}

.map-header {
    text-align: center;
    margin-bottom: 30px;
}

.map-header h2 {
    color: #2c5aa0;
    font-size: 2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.map-header p {
    color: #666;
    font-size: 1.1rem;
}

.map-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #666;
    text-align: center;
    padding: 40px;
}

.map-placeholder i {
    font-size: 4rem;
    color: #2c5aa0;
    margin-bottom: 20px;
}

.map-placeholder h3 {
    color: #2c5aa0;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.map-placeholder p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.directions-btn {
    background: linear-gradient(45deg, #2c5aa0, #1e3c72);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.directions-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 90, 160, 0.3);
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.action-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.action-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.action-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.action-content h3 {
    color: #2c5aa0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.action-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.action-btn {
    display: inline-block;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.action-btn.primary {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
}

.action-btn.emergency {
    background: linear-gradient(45deg, #f44336, #d32f2f);
    color: white;
}

.action-btn.secondary {
    background: linear-gradient(45deg, #2c5aa0, #1e3c72);
    color: white;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .contact-header {
        padding: 100px 0 40px;
    }
    
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .emergency-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .emergency-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .emergency-call-btn,
    .whatsapp-btn {
        justify-content: center;
        width: 100%;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .map-placeholder {
        padding: 30px 20px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .contact-header {
        padding: 90px 0 30px;
    }
    
    .contact-header h1 {
        font-size: 1.5rem;
    }
    
    .contact-cards {
        gap: 15px;
    }
    
    .contact-card {
        padding: 25px 20px;
    }
    
    .form-header {
        padding: 25px 20px;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
    
    .map-placeholder {
        padding: 25px 15px;
    }
    
    .map-placeholder i {
        font-size: 3rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
}

/* Loading Animation */
.contact-card,
.action-card {
    animation: fadeInUp 0.6s ease forwards;
}

.contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-card:nth-child(2) { animation-delay: 0.2s; }
.contact-card:nth-child(3) { animation-delay: 0.3s; }
.contact-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print Styles */
@media print {
    .emergency-contact-banner,
    .quick-actions,
    .map-section,
    .contact-form-section {
        display: none;
    }
    
    .contact-main {
        background: white;
    }
    
    .contact-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
