/* Contact Page Layout Styles */
.contact-page {
    position: relative;
    background-color: var(--background);
    color: var(--text-main);
    font-family: var(--font-sans);
    overflow: hidden; /* Fully clips background glow elements to prevent scrollbars */
    padding-bottom: 6rem;
    min-height: 80vh;
}

/* Ambient Background Glows */
.ambient-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(250, 128, 114, 0.1) 0%, rgba(255, 250, 249, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.glow-1 {
    top: 5%;
    left: -50px;
}

.glow-2 {
    top: 40%;
    right: -50px;
}

.contact-hero {
    padding: 5rem 1.5rem 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content-section {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.contact-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    justify-content: center;
}

.contact-info-card {
    background: var(--surface);
    border: 1px solid rgba(250, 128, 114, 0.25);
    border-radius: calc(var(--radius) * 2);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(51, 45, 46, 0.04);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(250, 128, 114, 0.1);
}

.icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(250, 128, 114, 0.1);
    border: 1px solid rgba(250, 128, 114, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.contact-detail-text {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Button Component Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.95rem;
    width: 100%;
    max-width: 230px;
}

.btn-hero {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(250, 128, 114, 0.3);
}

.btn-hero:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(250, 128, 114, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-muted);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in {
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}