/* 
 * Contact Us Page Styles
 * 
 * Custom styles specific to the contact us page
 * These styles complement the design system and Tailwind CSS
 */

/* ==========================================
   SMOOTH SCROLL & BASE STYLES
   ========================================== */
.contact-us-page-main {
    scroll-behavior: smooth;
}

/* ==========================================
   FORM ENHANCEMENTS
   ========================================== */

/* Input Focus Effects */
.contact-us-page-main input:focus,
.contact-us-page-main textarea:focus,
.contact-us-page-main select:focus {
    box-shadow: 0 0 0 3px rgba(24, 73, 115, 0.1);
}

/* Input Error States (for future validation) */
.contact-us-page-main input.error,
.contact-us-page-main textarea.error,
.contact-us-page-main select.error {
    border-color: #B8030D !important;
}

/* Form Button Hover Effects */
.contact-us-page-main .btn-hover-grow {
    position: relative;
    overflow: hidden;
}

.contact-us-page-main .btn-hover-grow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.contact-us-page-main .btn-hover-grow:hover::before {
    width: 300px;
    height: 300px;
}

/* ==========================================
   CARD HOVER EFFECTS
   ========================================== */
.contact-us-page-main .card-hover-lift {
    transition: all 0.3s ease;
}

.contact-us-page-main .card-hover-lift:hover {
    transform: translateY(-8px);
}

/* ==========================================
   FAQ ACCORDION STYLES
   ========================================== */
.contact-us-page-main .faq-content {
    transition: max-height 0.3s ease;
}

.contact-us-page-main button[onclick*="toggleFAQ"] svg {
    transition: transform 0.3s ease;
}

/* ==========================================
   SCROLL ANIMATIONS
   ========================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes scale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.contact-us-page-main .animate-on-scroll {
    opacity: 0;
    animation-fill-mode: forwards;
}

.contact-us-page-main .animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

.contact-us-page-main .animate-fade-right {
    animation: fadeRight 0.6s ease-out forwards;
}

.contact-us-page-main .animate-fade-left {
    animation: fadeLeft 0.6s ease-out forwards;
}

.contact-us-page-main .animate-scale {
    animation: scale 0.6s ease-out forwards;
}

/* Animation Delays */
.contact-us-page-main .animate-delay-200 {
    animation-delay: 0.2s;
}

.contact-us-page-main .animate-delay-400 {
    animation-delay: 0.4s;
}

.contact-us-page-main .animate-delay-600 {
    animation-delay: 0.6s;
}

.contact-us-page-main .animate-delay-800 {
    animation-delay: 0.8s;
}

.contact-us-page-main .animate-delay-1000 {
    animation-delay: 1s;
}

/* ==========================================
   RESPONSIVE IMPROVEMENTS
   ========================================== */
@media (max-width: 640px) {
    .contact-us-page-main h1 {
        font-size: 2rem;
    }
    
    .contact-us-page-main h2 {
        font-size: 1.75rem;
    }
    
    .contact-us-page-main .btn-hover-grow {
        width: 100%;
    }
}

/* ==========================================
   ACCESSIBILITY IMPROVEMENTS
   ========================================== */

/* Focus visible for keyboard navigation */
.contact-us-page-main *:focus-visible {
    outline: 2px solid #184973;
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .contact-us-page-main *,
    .contact-us-page-main *::before,
    .contact-us-page-main *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
    .contact-us-page-main .animate-on-scroll {
        opacity: 1 !important;
    }
    
    .contact-us-page-main section {
        page-break-inside: avoid;
    }
}

