/**
 * Contact Page Styles
 * UPDATED: Standardized to light blue borders (2px solid rgba(0, 163, 255, 0.2))
 * UPDATED: SVG icons changed to blue (#0066FF)
 * 
 * @package PriceWise Pro
 */

.contact-hero {
    min-height: 60vh;
    padding: 180px 40px 100px;
    background: linear-gradient(135deg, #001429 0%, #0a1929 50%, #001429 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1), transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.contact-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero .section-label {
    font-size: 13px;
    font-weight: 800;
    color: #00A3FF;
    letter-spacing: 4px;
    margin-bottom: 25px;
    display: inline-block;
    padding: 10px 28px;
    background: rgba(0, 163, 255, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(0, 163, 255, 0.3);
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.contact-hero-title {
    font-size: 68px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #ffffff;
    letter-spacing: -2px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.contact-hero-title .gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #00A3FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.contact-hero-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-main {
    padding: 100px 40px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.contact-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 163, 255, 0.4), transparent);
}

.contact-main::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 163, 255, 0.4), transparent);
}

.contact-main-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-form-card {
    background: linear-gradient(145deg, #fafafa 0%, #ffffff 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 28px;
    border: 2px solid rgba(0, 163, 255, 0.2);
    position: relative;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.04),
        0 8px 32px rgba(0, 163, 255, 0.08);
    opacity: 0;
    transform: translateY(30px);
}

.contact-form-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.contact-form-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 28px;
    padding: 3px;
    background: linear-gradient(135deg, #0066FF, #00A3FF, #0066FF);
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.6s ease;
    animation: premiumBorderFlow 3s ease infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes premiumBorderFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.contact-form-card:hover::before {
    opacity: 1;
}

.contact-form-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 163, 255, 0.5);
    box-shadow: 
        0 8px 24px rgba(0, 163, 255, 0.25),
        0 16px 48px rgba(0, 163, 255, 0.15);
}

.form-header {
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form-card.animate-in .form-header {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.05s;
}

.form-header h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header p {
    font-size: 16px;
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form-card.animate-in .form-group {
    opacity: 1;
    transform: translateY(0);
}

.contact-form-card.animate-in .form-row:nth-child(1) .form-group:nth-child(1) {
    transition-delay: 0.08s;
}

.contact-form-card.animate-in .form-row:nth-child(1) .form-group:nth-child(2) {
    transition-delay: 0.1s;
}

.contact-form-card.animate-in .form-group:nth-of-type(2) {
    transition-delay: 0.12s;
}

.contact-form-card.animate-in .form-group:nth-of-type(3) {
    transition-delay: 0.14s;
}

.contact-form-card.animate-in .form-group:nth-of-type(4) {
    transition-delay: 0.16s;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.5px;
}

.form-group .required {
    color: #ef4444;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: #ffffff;
    border: 2px solid rgba(0, 163, 255, 0.2);
    border-radius: 12px;
    color: #333;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00A3FF;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(20px);
}

.contact-form-card.animate-in .btn-submit {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.18s;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00A3FF 0%, #0066FF 100%);
    transition: left 0.4s ease;
    z-index: 0;
}

.btn-submit:hover::before {
    left: 0;
}

.btn-submit .btn-text,
.btn-submit .btn-icon {
    position: relative;
    z-index: 1;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 163, 255, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-status {
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    display: none;
    margin-top: 10px;
}

.form-status.success {
    display: block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-card {
    background: linear-gradient(145deg, #fafafa 0%, #ffffff 100%);
    padding: 35px 30px;
    border-radius: 26px;
    border: 2px solid rgba(0, 163, 255, 0.2);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.04),
        0 2px 8px rgba(0, 163, 255, 0.06);
    opacity: 0;
    transform: translateY(30px);
}

.contact-info-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.contact-info-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    padding: 2px;
    background: linear-gradient(135deg, #0066FF, #00A3FF, #0066FF);
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.6s ease;
    animation: premiumBorderFlow 3s ease infinite;
    pointer-events: none;
    z-index: -1;
}

.contact-info-card:hover::before {
    opacity: 1;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 163, 255, 0.4);
    box-shadow: 
        0 8px 24px rgba(0, 163, 255, 0.15),
        0 16px 48px rgba(0, 163, 255, 0.1);
}

.info-icon {
    font-size: 36px;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 8px rgba(0, 163, 255, 0.2));
}

.contact-info-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.info-link {
    display: inline-block;
    color: #0066FF;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.info-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0066FF;
    transition: width 0.3s ease;
}

.info-link:hover::after {
    width: 100%;
}

.info-link:hover {
    color: #0052CC;
}

.contact-social-card {
    background: linear-gradient(145deg, #fafafa 0%, #ffffff 100%);
    padding: 35px 30px;
    border-radius: 26px;
    border: 2px solid rgba(0, 163, 255, 0.2);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.04),
        0 2px 8px rgba(0, 163, 255, 0.06);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-social-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.contact-social-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.contact-social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 163, 255, 0.1);
    border: 1px solid rgba(0, 163, 255, 0.2);
    border-radius: 12px;
    color: #0066FF;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn svg {
    width: 22px;
    height: 22px;
}

.social-btn:hover {
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 163, 255, 0.3);
}

.contact-faq {
    padding: 100px 40px;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 50%, #0066FF 100%);
    position: relative;
    overflow: hidden;
}

.contact-faq::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
    filter: blur(100px);
    pointer-events: none;
}

.contact-faq-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-faq-header h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
    color: #ffffff;
}

.contact-faq-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 35px 30px;
    border-radius: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.5s ease;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.faq-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.faq-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.5), #ffffff);
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
}

.faq-card:hover::before {
    opacity: 1;
}

.faq-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.faq-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-card p {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 140px 20px 80px;
        min-height: 50vh;
    }
    
    .contact-hero-title {
        font-size: 42px;
    }
    
    .contact-hero-description {
        font-size: 16px;
    }
    
    .contact-main {
        padding: 80px 20px;
    }
    
    .contact-form-card {
        padding: 35px 25px;
    }
    
    .form-header h2 {
        font-size: 26px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-faq {
        padding: 80px 20px;
    }
    
    .contact-faq-header h2 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .contact-hero-title {
        font-size: 34px;
    }
    
    .contact-hero .section-label {
        font-size: 11px;
        padding: 8px 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 14px 18px;
        font-size: 14px;
    }
    
    .btn-submit {
        padding: 16px 30px;
        font-size: 15px;
    }
    
    .contact-social-links {
        gap: 12px;
    }
    
    .social-btn {
        width: 45px;
        height: 45px;
    }
}