/* ==========================================================================
   CONTACT PAGE - ENHANCED STYLES
   ========================================================================== */

/* ==========================================================================
   PAGE SETUP
   ========================================================================== */
.contact-page {
    background: var(--color-darker);
    min-height: 100vh;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.contact-hero {
    min-height: 70vh;
    padding: 10rem 4rem 6rem;
    position: relative;
    overflow: hidden;
    background: var(--dark-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Background */
.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

/* Message Animation */
.message-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.message-bubble {
    position: absolute;
    font-size: 2rem;
    opacity: 0;
    animation: float-messages 15s ease-in-out infinite;
}

@keyframes float-messages {
    0%, 100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    20% {
        opacity: 0.2;
        transform: translateY(50vh) scale(1);
    }
    80% {
        opacity: 0.2;
        transform: translateY(-50vh) scale(1);
    }
}

.bubble-1 { left: 10%; animation-delay: 0s; }
.bubble-2 { left: 30%; animation-delay: 3s; }
.bubble-3 { left: 50%; animation-delay: 6s; }
.bubble-4 { left: 70%; animation-delay: 9s; }
.bubble-5 { left: 90%; animation-delay: 12s; }

/* Grid Pattern */
.grid-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 30s ease-in-out infinite;
    pointer-events: none;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-gradient);
    top: -20%;
    right: -10%;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary-gradient);
    bottom: -20%;
    left: -10%;
    animation-delay: -10s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-gradient);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -20s;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease-out;
}

.badge-icon {
    font-size: 1.25rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.response-promise {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--color-purple);
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.promise-icon {
    font-size: 1.25rem;
}

/* ==========================================================================
   QUICK CONTACT SECTION
   ========================================================================== */
.quick-contact-section {
    padding: 4rem;
    margin-top: -4rem;
    position: relative;
    z-index: 20;
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.quick-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.quick-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-card:hover::before {
    opacity: 1;
}

.quick-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-link {
    color: inherit;
    text-decoration: none;
    display: block;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.quick-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-light);
}

.quick-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.card-arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 1.25rem;
    color: var(--color-purple);
    transition: transform 0.3s ease;
}

.quick-card:hover .card-arrow {
    transform: translateX(5px);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 6rem 4rem;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Contact Form Container */
.contact-form-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.form-header {
    margin-bottom: 2rem;
}

.form-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.form-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
}

/* Topic Selection */
.topic-selection {
    margin-bottom: 2rem;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.topic-option {
    position: relative;
}

.topic-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.topic-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.topic-icon {
    font-size: 1.5rem;
}

.topic-label {
    font-size: 0.875rem;
    font-weight: 500;
}

.topic-option input[type="radio"]:checked + .topic-card {
    background: rgba(102, 126, 234, 0.15);
    border-color: var(--color-purple);
}

.topic-card:hover {
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

/* Form Fields */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--color-light);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-purple);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.2);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

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

.char-count {
    display: block;
    text-align: right;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

.form-checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-checkbox-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.form-submit {
    padding: 1.25rem 3rem;
    background: var(--primary-gradient);
    color: var(--color-light);
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.form-submit:hover .btn-icon {
    transform: translateX(5px);
}

.form-disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1rem;
}

.form-disclaimer a {
    color: var(--color-purple);
    text-decoration: none;
}

.form-disclaimer a:hover {
    text-decoration: underline;
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition-smooth);
}

.info-card.featured {
    background: rgba(102, 126, 234, 0.05);
    border-color: rgba(102, 126, 234, 0.2);
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-header h3 {
    font-size: 1.125rem;
    color: var(--color-light);
}

/* Hours Grid */
.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.day {
    font-weight: 500;
    color: var(--color-light);
}

.time {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Contact List */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-link {
    color: var(--color-purple);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}

.contact-link:hover {
    transform: translateX(5px);
}

/* Social Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.social-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--color-light);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-button:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: var(--color-purple);
    transform: translateY(-2px);
}

.social-icon {
    font-size: 1.25rem;
}

.social-name {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.action-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--color-light);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}

.action-link:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: var(--color-purple);
    transform: translateX(5px);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
    padding: 6rem 4rem;
    background: rgba(255, 255, 255, 0.02);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-purple);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    color: var(--color-light);
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.faq-answer ul {
    margin-left: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   MAP SECTION
   ========================================================================== */
.map-section {
    padding: 6rem 4rem;
    background: var(--dark-gradient);
}

.map-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
}

.map-info {
    padding: 2rem;
}

.map-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-light);
}

.address {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-purple);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.map-link:hover {
    transform: translateX(5px);
}

.map-embed {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.map-placeholder {
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
}

.map-placeholder span {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .quick-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .topic-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .map-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 8rem 2rem 4rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .quick-contact-section {
        padding: 2rem;
        margin-top: -2rem;
    }

    .quick-contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-section,
    .faq-section,
    .map-section {
        padding: 4rem 2rem;
    }

    .contact-form-container {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .topic-grid {
        grid-template-columns: 1fr;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-submit {
        width: 100%;
        justify-content: center;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .map-container {
        padding: 1rem;
    }
}