/* Contact Page Styles - Beautiful & Clean */

/* Security Warning Styles */
.security-warning {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
    border: 2px solid #dc3545;
    border-radius: 12px;
    margin: 20px 0;
}

.warning-icon {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 20px;
}

.warning-title {
    color: #dc3545;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.warning-message {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.ip-display, .threat-reasons {
    background: rgba(220, 53, 69, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    margin: 10px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.contact-info {
    margin-top: 20px;
    color: var(--text);
}

.contact-info a {
    color: var(--color-accent-cyan);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

/* Soft lighting for Contact Information section */
.contact-info-section {
    position: relative;
    overflow: hidden;
}
.contact-info-section::before,
.contact-info-section::after {
    content: '';
    position: absolute;
    inset: -20%;
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
    opacity: 0.22;
}
/* Large, very slow conic gradient drift */
.contact-info-section::before {
    background: conic-gradient(from 0deg,
        rgba(0, 64, 255, 0.25),
        rgba(0, 204, 253, 0.18),
        rgba(0, 12, 138, 0.22),
        rgba(0, 204, 253, 0.18),
        rgba(0, 64, 255, 0.25));
    animation: infoConicDrift 48s linear infinite;
}
/* Two subtle radial glows that meander */
.contact-info-section::after {
    background:
        radial-gradient(600px 400px at 20% 30%, rgba(0, 204, 253, 0.25), transparent 60%),
        radial-gradient(700px 500px at 80% 70%, rgba(0, 64, 255, 0.22), transparent 60%);
    animation: infoParallax 56s ease-in-out infinite;
}

/* Ensure content sits above effects */
.contact-info-section .container,
.contact-info-section .section-header,
.contact-info-section .contact-grid { position: relative; z-index: 1; }

@keyframes infoConicDrift {
    0%   { transform: rotate(0deg) scale(1.05); }
    50%  { transform: rotate(180deg) scale(1.08); }
    100% { transform: rotate(360deg) scale(1.05); }
}

@keyframes infoParallax {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(-2%, -1%, 0) scale(1.03); }
    100% { transform: translate3d(0, 0, 0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .contact-info-section::before,
    .contact-info-section::after { animation: none; }
}

/* (removed) office-status styles moved to banner in shell.css */

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(1200px circle at 20% 30%, rgba(0, 64, 255, 0.08) 0%, transparent 50%),
        radial-gradient(1000px circle at 80% 70%, rgba(0, 204, 253, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.contact-form-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        conic-gradient(from 0deg at 50% 50%, 
            transparent 0deg, 
            rgba(0, 64, 255, 0.03) 60deg, 
            transparent 120deg,
            rgba(0, 204, 253, 0.02) 180deg,
            transparent 240deg,
            rgba(0, 64, 255, 0.03) 300deg,
            transparent 360deg);
    animation: rotate 20s linear infinite;
    pointer-events: none;
    opacity: 0.6;
}

/* Contact hero visual effects (full hero box) */
.hero #heroVisual { position: relative; overflow: hidden; }
.contact-hero-effects { position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 0; pointer-events: none; }

/* Soft animated grid */
.contact-hero-effects .contact-grid {
    position: absolute;
    left: -8%; right: -8%; top: -8%; bottom: -8%;
    background-image: linear-gradient(rgba(0, 64, 255, 0.12) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 204, 253, 0.10) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.18;
    animation: gridDrift 60s linear infinite;
}

/* Cyan/blue aura pulse */
.contact-hero-effects .contact-aura {
    position: absolute; width: 140%; height: 140%; left: -20%; top: -20%;
    background: radial-gradient(600px 400px at 30% 30%, rgba(0, 204, 253, 0.16), transparent 60%),
                radial-gradient(700px 500px at 70% 70%, rgba(0, 64, 255, 0.14), transparent 60%);
    mix-blend-mode: screen;
    animation: auraFloat 24s ease-in-out infinite;
}

/* Concentric rings that slowly expand */
.contact-hero-effects .contact-ring {
    position: absolute; 
    left: 50%; top: 50%; transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(0, 204, 253, 0.25);
    width: 220px; height: 220px;
    animation: ringPulse 10s ease-in-out infinite;
}
.contact-hero-effects .ring-2 {
    width: 320px; height: 320px; border-color: rgba(0, 64, 255, 0.25);
    animation-delay: 3s;
}

/* Floating icons - clean without backgrounds */
.contact-hero-effects .contact-icon { 
    position: absolute; 
    color: var(--color-lightest-blue); 
    opacity: 0.85; 
    text-shadow: 0 0 14px rgba(0, 204, 253, 0.35);
    background: none;
    border: none;
    padding: 0;
    width: auto;
    height: auto;
}
.contact-hero-effects .icon-mail { left: 8%; top: 22%; animation: floatY 12s ease-in-out infinite; }
.contact-hero-effects .icon-phone { right: 10%; bottom: 18%; animation: floatY 14s ease-in-out infinite reverse; }
.contact-hero-effects .icon-lock { left: 45%; bottom: 10%; transform: translateX(-50%); animation: floatY 16s ease-in-out infinite; }
.contact-hero-effects .icon-chat { left: 18%; bottom: 24%; animation: floatY 15s ease-in-out infinite; }
.contact-hero-effects .icon-location { right: 18%; top: 20%; animation: floatY 17s ease-in-out infinite reverse; }
.contact-hero-effects .contact-icon i { font-size: 1.2rem; }

/* Ensure text is crisp and above all effects */
.hero .hero-placeholder .page-name { 
    position: relative; 
    z-index: 10; 
    text-shadow: 0 0 20px rgba(0, 204, 253, 0.3);
    filter: none;
}

@keyframes gridDrift {
    0% { transform: translate3d(0,0,0); }
    100% { transform: translate3d(-28px,-28px,0); }
}
@keyframes auraFloat {
    0%,100% { transform: translate3d(0,0,0) scale(1); }
    50% { transform: translate3d(-1%, 1%, 0) scale(1.03); }
}
@keyframes ringPulse {
    0%,100% { transform: translate(-50%, -50%) scale(1); opacity: 0.35; }
    50% { transform: translate(-50%, -50%) scale(1.06); opacity: 0.55; }
}
@keyframes floatY {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
    .contact-hero-effects * { animation: none; }
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 16px 0;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-form {
    background: var(--bg);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 64, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--color-accent-cyan) 0%, 
        var(--color-lightest-blue) 50%, 
        var(--color-accent-cyan) 100%);
    border-radius: 20px 20px 0 0;
}

/* Form Styling */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
    align-items: start;
}

/* Form group styling moved to Enhanced Form Styling section */

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px 20px;
    border: 2px solid var(--border-glow);
    border-radius: 12px;
    background: var(--bg);
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    width: 100%;
    min-height: 52px;
    box-sizing: border-box;
}

/* Light mode input styling */
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background: #ffffff;
    border-color: rgba(0, 11, 129, 0.15);
    color: var(--color-primary-navy);
    box-shadow: 0 2px 8px rgba(0, 11, 129, 0.08);
}

/* Dark mode input styling */
html:not([data-theme="light"]) .form-group input,
html:not([data-theme="light"]) .form-group select,
html:not([data-theme="light"]) .form-group textarea {
    background: rgba(0, 1, 31, 0.4);
    border-color: var(--border-glow);
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-cyan);
    box-shadow: 
        0 0 0 4px rgba(0, 204, 253, 0.1),
        0 4px 12px rgba(0, 204, 253, 0.15);
    transform: translateY(-1px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: rgba(0, 204, 253, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 204, 253, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
    padding-top: 16px;
    padding-bottom: 16px;
}

.form-group select {
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2300ccfd" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6,9 12,15 18,9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 48px;
    cursor: pointer;
    min-height: 52px;
    display: flex;
    align-items: center;
}

/* Phone Input Group */
.phone-input-group {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.country-code-select {
    flex: 0 0 120px;
    min-width: 120px;
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2300ccfd" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6,9 12,15 18,9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding: 16px 36px 16px 20px;
    border: 2px solid var(--border-glow);
    border-radius: 12px;
    background-color: var(--bg);
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    min-height: 52px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

/* Light mode country code select */
[data-theme="light"] .country-code-select {
    background-color: #ffffff;
    border-color: rgba(0, 11, 129, 0.15);
    color: var(--color-primary-navy);
    box-shadow: 0 2px 8px rgba(0, 11, 129, 0.08);
}

/* Dark mode country code select */
html:not([data-theme="light"]) .country-code-select {
    background-color: rgba(0, 1, 31, 0.4);
    border-color: var(--border-glow);
    color: var(--text);
}

.country-code-select:focus {
    outline: none;
    border-color: var(--color-accent-cyan);
    box-shadow: 
        0 0 0 4px rgba(0, 204, 253, 0.1),
        0 4px 12px rgba(0, 204, 253, 0.15);
    transform: translateY(-1px);
}

.country-code-select:hover {
    border-color: rgba(0, 204, 253, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 204, 253, 0.1);
}

.phone-input-group input[type="tel"] {
    flex: 1;
    min-width: 0;
    min-height: 52px;
    display: flex;
    align-items: center;
}

/* Checkbox Group Styling */
.checkbox-group {
    margin: 32px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 20px;
    background: linear-gradient(135deg, 
        rgba(0, 64, 255, 0.03) 0%, 
        rgba(0, 204, 253, 0.02) 100%);
    border: 1px solid rgba(0, 204, 253, 0.1);
    border-radius: 12px;
    transition: all 300ms ease;
    position: relative;
}

.checkbox-label:hover {
    border-color: rgba(0, 204, 253, 0.3);
    background: linear-gradient(135deg, 
        rgba(0, 64, 255, 0.05) 0%, 
        rgba(0, 204, 253, 0.03) 100%);
}

.checkbox-label:hover .checkmark {
    border-color: rgba(0, 204, 253, 0.5);
    transform: scale(1.05);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-glow);
    border-radius: 6px;
    background: var(--bg);
    position: relative;
    flex-shrink: 0;
    transition: all 300ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--color-accent-cyan);
    border-color: var(--color-accent-cyan);
    box-shadow: 0 2px 8px rgba(0, 204, 253, 0.3);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    display: block;
}

.checkbox-label a {
    color: var(--color-accent-cyan);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.form-actions {
    text-align: center;
    margin-top: 40px;
}

/* Form actions use standard button styling from shell.css */

/* Enhanced Form Styling */
.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Placeholder styling */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
    transition: opacity 300ms ease;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    opacity: 0.5;
}

/* Better focus states */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-cyan);
    box-shadow: 
        0 0 0 4px rgba(0, 204, 253, 0.1),
        0 4px 12px rgba(0, 204, 253, 0.15);
    transform: translateY(-1px);
}

/* Improved select dropdown styling */
.form-group select option {
    padding: 12px 16px;
    background: var(--bg);
    color: var(--text);
    font-size: 1rem;
}

/* Phone input group improvements */
.phone-input-group {
    display: flex;
    gap: 12px;
    align-items: stretch;
    width: 100%;
}

.phone-input-group .country-code-select,
.phone-input-group input[type="tel"] {
    height: 52px;
}

/* Contact Information Section */
.contact-info-section {
    padding: 80px 0;
    background: linear-gradient(135deg, 
        rgba(0, 64, 255, 0.02) 0%, 
        rgba(0, 204, 253, 0.01) 100%);
    position: relative;
    overflow: hidden;
}

.contact-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(1000px circle at 30% 20%, rgba(0, 64, 255, 0.06) 0%, transparent 50%),
        radial-gradient(800px circle at 70% 80%, rgba(0, 204, 253, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.contact-info-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: 
        conic-gradient(from 180deg at 50% 50%, 
            transparent 0deg, 
            rgba(0, 204, 253, 0.02) 60deg, 
            transparent 120deg,
            rgba(0, 64, 255, 0.03) 180deg,
            transparent 240deg,
            rgba(0, 204, 253, 0.02) 300deg,
            transparent 360deg);
    animation: rotate 25s linear infinite reverse;
    pointer-events: none;
    opacity: 0.4;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.contact-card {
    background: var(--bg);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--color-accent-cyan) 0%, 
        var(--color-lightest-blue) 100%);
    transform: scaleX(0);
    transition: transform 300ms ease;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 64, 255, 0.1);
}

.contact-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, 
        var(--color-accent-cyan) 0%, 
        var(--color-lightest-blue) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    color: var(--color-primary-navy);
    font-size: 1.5rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 8px 0;
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0 0 16px 0;
}

.contact-link {
    color: var(--color-accent-cyan);
    text-decoration: none;
    font-weight: 500;
    transition: color 300ms ease;
}

.contact-link:hover {
    color: var(--color-lightest-blue);
    text-decoration: underline;
}

.contact-address {
    font-style: normal;
    color: var(--text);
    line-height: 1.6;
}

.business-hours {
    color: var(--text);
    line-height: 1.6;
}

.business-hours div {
    margin: 4px 0;
}

/* Location Section */
.location-section {
    padding: 80px 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.location-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(1200px circle at 60% 40%, rgba(0, 64, 255, 0.05) 0%, transparent 50%),
        radial-gradient(900px circle at 20% 60%, rgba(0, 204, 253, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.location-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        conic-gradient(from 90deg at 50% 50%, 
            transparent 0deg, 
            rgba(0, 64, 255, 0.02) 60deg, 
            transparent 120deg,
            rgba(0, 204, 253, 0.03) 180deg,
            transparent 240deg,
            rgba(0, 64, 255, 0.02) 300deg,
            transparent 360deg);
    animation: rotate 30s linear infinite;
    pointer-events: none;
    opacity: 0.3;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.location-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 16px 0;
}

.location-info p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.location-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.location-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    font-size: 1rem;
    color: var(--text);
}

.location-benefits li i {
    color: var(--color-accent-cyan);
    font-size: 0.9rem;
    width: 16px;
}

.appointment-notice {
    background: linear-gradient(135deg, 
        rgba(0, 64, 255, 0.05) 0%, 
        rgba(0, 204, 253, 0.03) 100%);
    border: 1px solid rgba(0, 204, 253, 0.2);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.notice-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, 
        var(--color-accent-cyan) 0%, 
        var(--color-lightest-blue) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-navy);
    font-size: 1.2rem;
}

.notice-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 8px 0;
}

.notice-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.location-map {
    background: var(--bg);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 64, 255, 0.1);
}

.map-placeholder {
    color: var(--text-muted);
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--color-accent-cyan);
    margin-bottom: 16px;
}

.map-placeholder h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 8px 0;
}

.map-placeholder p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0 0 8px 0;
}

.coordinates {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: rgba(0, 64, 255, 0.05);
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
}

/* Scroll Animations - Same as Sitemap Page */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Initial hidden state for scroll animations */
.scroll-section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.scroll-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-element.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays for contact cards */
.contact-card:nth-child(1) { transition-delay: 0.1s; }
.contact-card:nth-child(2) { transition-delay: 0.15s; }
.contact-card:nth-child(3) { transition-delay: 0.2s; }
.contact-card:nth-child(4) { transition-delay: 0.25s; }

/* Section header animation delay */
.section-header.scroll-element {
    transition-delay: 0.2s;
}

/* Contact form wrapper animation delay */
.contact-form-wrapper.scroll-element {
    transition-delay: 0.3s;
}

/* Location content animation delay */
.location-content.scroll-element {
    transition-delay: 0.2s;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-form {
        padding: 40px;
    }
    
    .location-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact-form-section,
    .contact-info-section,
    .location-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 32px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* Form actions use standard button styling from shell.css */
}

@media (max-width: 480px) {
    .contact-form {
        padding: 24px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .contact-card {
        padding: 24px;
    }
    
    .location-map {
        padding: 24px;
    }
}
