/* Contact Page Specific Styles */

/* Mobile viewport fixes */
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Animated Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    filter: blur(40px);
    pointer-events: none;
}

.orb-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.orb-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 60%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Hero Section */
.contact-hero {
    position: relative;
    padding: 140px 0 100px;
    background:
        linear-gradient(135deg, rgba(10, 15, 26, 0.85) 0%, rgba(26, 31, 46, 0.85) 50%, rgba(10, 15, 26, 0.85) 100%),
        url('../images/bg.png');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-mesh {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(227, 27, 72, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(188, 46, 145, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(227, 27, 72, 0.05) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
}

.contact-hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 0%, #e5e7eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    text-align: center !important;
    width: 100%;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e5e7eb;
    margin-bottom: 50px;
    text-align: center !important;
    width: 100%;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 16px 24px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(227, 27, 72, 0.1);
}

.badge-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-icon svg {
    width: 14px;
    height: 14px;
    color: var(--white);
}

.feature-badge span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

/* Main Contact Section */
.contact-main {
    padding: 100px 0;
    background: var(--white);
}

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

.form-header,
.info-header {
    margin-bottom: 40px;
}

.form-header h2,
.info-header h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.form-header p,
.info-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Form Styles */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

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

.form-group {
    position: relative;
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 0;
    border: none;
    border-bottom: 2px solid var(--gray-200);
    background: transparent;
    font-size: 16px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-family: var(--font-body);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--gradient-start);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.form-focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    transition: width 0.3s ease;
}

.form-group input:focus + .form-focus-line,
.form-group select:focus + .form-focus-line,
.form-group textarea:focus + .form-focus-line {
    width: 100%;
}

.form-group select {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%236B7280" d="m2 5l2-2h-4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 40px;
}

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

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

.checkbox-group:last-of-type {
    margin-bottom: 32px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
    user-select: none;
}

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

.checkmark {
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
    display: inline-block;
}

.checkbox-label:hover .checkmark {
    border-color: var(--gradient-start);
    box-shadow: 0 0 0 2px rgba(227, 27, 72, 0.1);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-color: var(--gradient-start);
}

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

/* Form Actions */
.form-actions {
    margin-top: 40px;
}

.btn {
    position: relative;
    overflow: hidden;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-loading svg {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

.btn.loading .btn-text {
    opacity: 0;
}

.btn.loading .btn-loading {
    opacity: 1;
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Contact Info Section */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(227, 27, 72, 0.1);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.card-content p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 8px;
}

.contact-link {
    display: block;
    color: var(--gradient-start);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    margin-bottom: 4px;
}

.contact-link:hover {
    color: var(--gradient-end);
}

/* Business Hours */
.business-hours {
    background: var(--gray-100);
    padding: 30px;
    border-radius: 16px;
}

.business-hours h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-200);
}

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

.day {
    font-weight: 600;
    color: var(--text-primary);
}

.time {
    color: var(--text-secondary);
}

.emergency-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(227, 27, 72, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--gradient-start);
}

.emergency-notice svg {
    width: 20px;
    height: 20px;
    color: var(--gradient-start);
    flex-shrink: 0;
}

.emergency-notice span {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

/* Features Section */
.contact-features {
    padding: 100px 0;
    background: var(--gray-100);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(227, 27, 72, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Call to Action */
.contact-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--gray-800) 100%);
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.gradient-mesh {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(227, 27, 72, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(188, 46, 145, 0.1) 0%, transparent 50%);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up.animate-in,
.fade-in-left.animate-in,
.fade-in-right.animate-in {
    opacity: 1;
    transform: translate(0);
}

/* Active Navigation State */
.nav-menu a.active {
    color: var(--gradient-start);
}

.nav-menu a.active::after {
    width: 100%;
}

/* Responsive Design */
/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .contact-hero {
        padding: 120px 0 80px;
    }
    
    .contact-hero h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-main {
        padding: 80px 0;
    }
    
    .contact-features {
        padding: 80px 0;
    }
    
    .contact-cta {
        padding: 80px 0;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .contact-hero {
        padding: 100px 0 60px;
    }
    
    .contact-hero h1 {
        font-size: 2.25rem;
        text-align: center !important;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
        text-align: center !important;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .feature-badge {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 14px 20px;
    }
    
    .contact-main {
        padding: 60px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .form-header h2,
    .info-header h2 {
        font-size: 1.875rem;
    }
    
    .form-header p,
    .info-header p {
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }
    
    .form-group {
        margin-bottom: 24px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-card {
        padding: 25px 20px;
        flex-direction: row;
        text-align: left;
        gap: 20px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    
    .card-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .card-content h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .card-content p {
        font-size: 0.95rem;
    }
    
    .contact-link {
        font-size: 0.95rem;
    }
    
    .business-hours {
        padding: 25px 20px;
    }
    
    .business-hours h3 {
        font-size: 1.125rem;
    }
    
    .hours-item {
        flex-direction: row;
        text-align: left;
    }
    
    .emergency-notice {
        flex-direction: row;
        text-align: left;
        padding: 14px;
    }
    
    .emergency-notice span {
        font-size: 0.875rem;
    }
    
    .contact-features {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-card {
        padding: 35px 25px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
    }
    
    .contact-cta {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
        margin-bottom: 16px;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Responsive Design - Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .contact-hero {
        padding: 80px 0 50px;
    }
    
    .contact-hero h1 {
        font-size: 1.875rem;
        text-align: center !important;
        line-height: 1.3;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 25px;
    }
    
    .feature-badge {
        padding: 12px 16px;
        max-width: 100%;
    }
    
    .feature-badge span {
        font-size: 0.85rem;
    }
    
    .badge-icon {
        width: 20px;
        height: 20px;
    }
    
    .badge-icon svg {
        width: 12px;
        height: 12px;
    }
    
    .contact-main {
        padding: 50px 0;
    }
    
    .form-header h2,
    .info-header h2 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .form-header p,
    .info-header p {
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 25px 16px;
        border-radius: 16px;
    }
    
    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 0;
        font-size: 0.95rem;
    }
    
    .form-group textarea {
        min-height: 120px;
    }
    
    .checkbox-label {
        font-size: 0.8rem;
    }
    
    .checkmark {
        width: 18px;
        height: 18px;
    }
    
    .checkbox-label input[type="checkbox"]:checked + .checkmark::after {
        left: 5px;
        top: 2px;
        width: 5px;
        height: 9px;
    }
    
    .form-actions .btn {
        padding: 14px 28px;
        font-size: 0.95rem;
        width: 100%;
    }
    
    .contact-card {
        padding: 20px 16px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .card-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        margin: 0 auto;
    }
    
    .card-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .card-content h3 {
        font-size: 1rem;
    }
    
    .card-content p {
        font-size: 0.875rem;
        word-break: break-word;
    }
    
    .contact-link {
        font-size: 0.875rem;
    }
    
    .business-hours {
        padding: 20px 16px;
    }
    
    .business-hours h3 {
        font-size: 1rem;
        margin-bottom: 16px;
    }
    
    .hours-item {
        flex-direction: column;
        text-align: center;
        gap: 4px;
        padding: 10px 0;
    }
    
    .day,
    .time {
        font-size: 0.875rem;
    }
    
    .emergency-notice {
        flex-direction: column;
        text-align: center;
        padding: 12px;
    }
    
    .emergency-notice svg {
        margin: 0 auto;
    }
    
    .emergency-notice span {
        font-size: 0.8rem;
    }
    
    .contact-features {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .feature-card h3 {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }
    
    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .contact-cta {
        padding: 50px 0;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .cta-content p {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .cta-buttons {
        gap: 12px;
    }
    
    .cta-buttons .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .contact-hero h1 {
        font-size: 1.5rem;
        line-height: 1.25;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .contact-form,
    .contact-card,
    .feature-card {
        padding: 20px 12px;
    }
    
    .form-header h2,
    .info-header h2 {
        font-size: 1.375rem;
    }
    
    .cta-content h2 {
        font-size: 1.375rem;
    }
    
    .section-header h2 {
        font-size: 1.625rem;
    }
    
    .cta-buttons .btn,
    .form-actions .btn {
        padding: 12px 20px;
        font-size: 0.875rem;
    }
}

/* Touch-friendly improvements for mobile */
@media (max-width: 768px) {
    /* Ensure all clickable elements are at least 44px tall for touch targets */
    .btn,
    .contact-link,
    .form-group input,
    .form-group select,
    .checkbox-label {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .form-group input,
    .form-group select {
        padding: 16px 0;
    }
    
    /* Improve touch scrolling */
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Prevent text size adjustment on orientation change */
    html {
        -webkit-text-size-adjust: 100%;
    }
    
    /* Make sure background orbs don't cause performance issues on mobile */
    .gradient-orb {
        will-change: transform;
        transform: translateZ(0);
    }
    
    /* Optimize animations for mobile */
    .fade-in-up,
    .fade-in-left,
    .fade-in-right {
        transition-duration: 0.5s;
    }
    
    /* Ensure proper spacing for mobile keyboards */
    .contact-form {
        margin-bottom: 20px;
    }
}