/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #ffffff;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    position: relative;
}

.contact-section::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(0,53,141,0.02)"/><circle cx="75" cy="75" r="1" fill="rgba(0,53,141,0.015)"/><circle cx="50" cy="10" r="0.5" fill="rgba(0,53,141,0.018)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Header */
.contact-header {
    text-align: center;
    margin-bottom: 60px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(0, 53, 141, 0.06);
    border: 1px solid rgba(0, 53, 141, 0.12);
    border-radius: 28px;
    padding: 48px;
    box-shadow:
        0 12px 40px rgba(0, 53, 141, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    animation: fadeInUp 0.8s ease-out;
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00358d 0%, #0066cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.contact-description {
    font-size: 1.2rem;
    color: rgba(0, 53, 141, 0.75);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Quick Contact Section - Compact Design */
.quick-contact-section {
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 53, 141, 0.1);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 6px 24px rgba(0, 53, 141, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    min-height: 100px;
    cursor: pointer;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 53, 141, 0.03), transparent);
    transition: left 0.5s ease;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        0 12px 40px rgba(0, 53, 141, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(0, 53, 141, 0.15);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #00358d 0%, #0066cc 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(0, 53, 141, 0.2);
}

.card-content {
    flex: 1;
    min-width: 0;
}

.card-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #00358d;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.detail-item {
    font-size: 0.85rem;
    color: rgba(0, 53, 141, 0.7);
    line-height: 1.3;
}

.card-action {
    flex-shrink: 0;
    display: none;
}

.action-btn {
    width: 40px;
    height: 40px;
    background: rgba(0, 53, 141, 0.08);
    border: 1px solid rgba(0, 53, 141, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00358d;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    cursor: pointer;
}

.action-btn:hover {
    background: #00358d;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 53, 141, 0.25);
}

.action-btn:disabled,
.action-btn.processing {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    pointer-events: none;
}

.action-btn.processing::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Main Contact Section */
.main-contact-section {
    margin-bottom: 80px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

/* Contact Form */
.contact-form-section {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 53, 141, 0.12);
    border-radius: 24px;
    padding: 32px;
    box-shadow:
        0 8px 32px rgba(0, 53, 141, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    animation: fadeInRight 0.8s ease-out;
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 53, 141, 0.08);
}

.form-header h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #00358d;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.form-header p {
    font-size: 0.95rem;
    color: rgba(0, 53, 141, 0.7);
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #00358d;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid rgba(0, 53, 141, 0.12);
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.8);
    font-family: inherit;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00358d;
    box-shadow: 0 0 0 3px rgba(0, 53, 141, 0.08);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
}

.phone-input {
    display: flex;
    align-items: center;
    border: 2px solid rgba(0, 53, 141, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.phone-input:focus-within {
    border-color: #00358d;
    box-shadow: 0 0 0 3px rgba(0, 53, 141, 0.08);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
}

.country-code {
    padding: 12px 16px;
    background: rgba(0, 53, 141, 0.06);
    color: #00358d;
    font-weight: 600;
    border-right: 1px solid rgba(0, 53, 141, 0.12);
    font-size: 0.95rem;
}

.phone-input input {
    border: none;
    background: transparent;
    flex: 1;
    padding: 12px 16px;
    border-radius: 0;
}

.phone-input input:focus {
    outline: none;
    box-shadow: none;
    transform: none;
}

.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
    opacity: 0;
    transform: translateY(-6px);
    transition: all 0.3s ease;
}

.error-message.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea,
.form-group.error .phone-input {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.08);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(0, 53, 141, 0.8);
    cursor: pointer;
    margin: 0;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #00358d;
    cursor: pointer;
}

.form-actions {
    margin-top: 16px;
}

.submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #00358d 0%, #0066cc 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 53, 141, 0.2);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #0066cc 0%, #00358d 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 53, 141, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Contact Info */
.contact-info-section {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 53, 141, 0.1);
    border-radius: 24px;
    padding: 32px;
    box-shadow:
        0 8px 32px rgba(0, 53, 141, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    animation: fadeInLeft 0.8s ease-out;
    position: sticky;
    top: 120px;
}

.info-header {
    margin-bottom: 32px;
    text-align: center;
}

.info-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #00358d;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.info-header p {
    font-size: 1rem;
    color: rgba(0, 53, 141, 0.7);
    line-height: 1.5;
    margin: 0;
}

.info-features {
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    margin-bottom: 12px;
    background: rgba(0, 53, 141, 0.03);
    border: 1px solid rgba(0, 53, 141, 0.06);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
    background: rgba(0, 53, 141, 0.06);
    transform: translateX(6px);
    box-shadow: 0 4px 16px rgba(0, 53, 141, 0.08);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #00358d 0%, #0066cc 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 53, 141, 0.15);
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #00358d;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.feature-content p {
    font-size: 0.9rem;
    color: rgba(0, 53, 141, 0.7);
    margin: 0;
    line-height: 1.3;
}

.emergency-contact {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.06) 0%, rgba(255, 107, 107, 0.06) 100%);
    border: 1px solid rgba(220, 53, 69, 0.12);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

.emergency-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.emergency-header i {
    color: #dc3545;
    font-size: 1.1rem;
}

.emergency-header h4 {
    color: #dc3545;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.emergency-contact p {
    color: rgba(220, 53, 69, 0.8);
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.emergency-btn {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.2);
    font-size: 0.9rem;
}

.emergency-btn:hover {
    background: linear-gradient(135deg, #ff6b6b 0%, #dc3545 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(220, 53, 69, 0.3);
    color: white;
    text-decoration: none;
}

/* Locations Section */
.locations-section {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.locations-header {
    text-align: center;
    margin-bottom: 32px;
}

.locations-header h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #00358d;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.locations-header p {
    font-size: 1rem;
    color: rgba(0, 53, 141, 0.7);
    margin: 0;
}

.locations-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.location-tab {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(0, 53, 141, 0.12);
    padding: 12px 24px;
    border-radius: 16px;
    color: rgba(0, 53, 141, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.location-tab:hover {
    border-color: rgba(0, 53, 141, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 53, 141, 0.08);
}

.location-tab.active {
    background: linear-gradient(135deg, #00358d 0%, #0066cc 100%);
    border-color: #00358d;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 53, 141, 0.2);
}

/* Existing Location Styles */
.locations-content {
    position: relative;
}

.location-group {
    display: none;
    animation: fadeIn 0.6s ease-out;
}

.location-group.active {
    display: block;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.location-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 53, 141, 0.12);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 6px 24px rgba(0, 53, 141, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 40px rgba(0, 53, 141, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(0, 53, 141, 0.2);
}

.location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.location-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #00358d;
    margin: 0;
    letter-spacing: -0.01em;
}

.location-badge {
    background: linear-gradient(135deg, #00358d 0%, #0066cc 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 53, 141, 0.2);
}

.location-details {
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: rgba(0, 53, 141, 0.8);
}

.detail-item i {
    color: #00358d;
    width: 14px;
    text-align: center;
    font-size: 0.85rem;
}

.location-actions {
    text-align: center;
}

.map-btn {
    background: rgba(0, 53, 141, 0.08);
    color: #00358d;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 53, 141, 0.15);
    font-size: 0.9rem;
}

.map-btn:hover {
    background: #00358d;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 53, 141, 0.2);
    text-decoration: none;
}

/* Actions Row for QR Button Layout */
.actions-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* QR Button Styles */
.qr-btn {
    background: rgba(0, 53, 141, 0.08);
    color: #00358d;
    border: 1px solid rgba(0, 53, 141, 0.15);
    padding: 10px 16px;
    border-radius: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    cursor: pointer;
    font-family: inherit;
}

.qr-btn:hover {
    background: #00358d;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 53, 141, 0.2);
}

.qr-btn i {
    font-size: 0.85rem;
}

/* QR Modal Styles - Fixed positioning */
.qr-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.qr-modal.show {
    display: block;
}

.qr-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.qr-modal.show .qr-modal-content {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.qr-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0 24px;
    border-bottom: 1px solid rgba(0, 53, 141, 0.1);
    margin-bottom: 24px;
}

.qr-modal-header h3 {
    margin: 0;
    color: #00358d;
    font-size: 1.3rem;
    font-weight: 600;
}

.qr-modal-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #666;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.qr-modal-close:hover {
    background: rgba(0, 53, 141, 0.1);
    color: #00358d;
}

.qr-modal-body {
    padding: 0 24px 24px 24px;
    text-align: center;
}

.qr-instruction {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.qr-code-large {
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-code-large img {
    border: 1px solid rgba(0, 53, 141, 0.15);
    border-radius: 12px;
    padding: 12px;
    background: white;
    box-shadow: 0 4px 16px rgba(0, 53, 141, 0.1);
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* form notification */

/* Error Toast Notification */
.error-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.95) 0%, rgba(200, 35, 51, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(220, 53, 69, 0.4);
    z-index: 10000;
    min-width: 350px;
    max-width: 500px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.error-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.error-toast .toast-icon i {
    color: #fff;
}

/* Responsive for error toast */
@media (max-width: 768px) {
    .error-toast {
        min-width: 280px;
        max-width: 90%;
        right: 5%;
        left: 5%;
    }
}



/* Responsive Design */
@media (max-width: 480px) {
    .actions-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .map-btn,
    .qr-btn {
        width: 100%;
        justify-content: center;
    }
    
    .qr-modal-content {
        width: 95%;
        max-width: none;
    }
    
    .qr-code-large img {
        width: 180px;
        height: 180px;
    }
    
    .qr-modal-header,
    .qr-modal-body {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .qr-modal-header h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 360px) {
    .qr-code-large img {
        width: 160px;
        height: 160px;
    }
}


/* Notification Styles */
.contact-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid #00358d;
    min-width: 280px;
}

.contact-notification.success {
    border-left-color: #28a745;
}

.contact-notification.error {
    border-left-color: #dc3545;
}

.contact-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
}

.notification-content i {
    color: #00358d;
}

.contact-notification.success .notification-content i {
    color: #28a745;
}

.contact-notification.error .notification-content i {
    color: #dc3545;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    75% {
        transform: translateX(4px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-info-section {
        position: static;
    }

    .quick-contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }

    .contact-container {
        padding: 0 16px;
    }

    .contact-title {
        font-size: 2.5rem;
    }

    .contact-header {
        padding: 32px 24px;
    }

    .quick-contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 20px;
        min-height: 90px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-form-section,
    .contact-info-section {
        padding: 24px;
    }

    .locations-tabs {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .location-tab {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .location-header {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 2rem;
    }

    .contact-description {
        font-size: 1rem;
    }

    .contact-header {
        padding: 20px;
    }

    .contact-card {
        padding: 16px;
        gap: 12px;
    }

    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .action-btn {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .contact-form-section,
    .contact-info-section {
        padding: 20px;
    }

    .form-header h3 {
        font-size: 1.4rem;
    }

    .feature-item {
        padding: 12px;
        gap: 12px;
    }

    .feature-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .location-card {
        padding: 20px;
    }

    .contact-notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        transform: translateY(-100px);
    }

    .contact-notification.show {
        transform: translateY(0);
    }
}

/* Focus states for accessibility */
.contact-card:focus,
.action-btn:focus,
.location-tab:focus,
.map-btn:focus,
.emergency-btn:focus,
.submit-btn:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid #00358d;
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 53, 141, 0.08);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 53, 141, 0.25);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 53, 141, 0.4);
}

/* Accent color for form elements */
input,
button,
select,
textarea {
    accent-color: #00358d;
}

/* Print styles */
@media print {
    .contact-section {
        background: white !important;
        box-shadow: none !important;
    }

    .contact-form-section {
        page-break-inside: avoid;
    }

    .emergency-contact {
        page-break-inside: avoid;
    }
}