/* Contact Page Specific Styles */

/* Hero section for contact page */
.contact-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://i.pinimg.com/736x/d0/4b/eb/d04beb7c485cce4c7195e278ca99cfcb.jpg') center/cover no-repeat;
    position: relative;
    text-align: center;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Dark overlay consistent with site */
    background: linear-gradient(135deg, #111827 0%, #0d9488 100%);
    opacity: 0.9;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 24px;
}

.contact-hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.contact-hero-content p {
    font-size: 18px;
    color: #cbd5e1;
}

/* Contact details & form section - White Theme Update */
.contact-section {
    padding: 80px 0;
    background: #ffffff;
    /* White background */
    color: #111827;
    position: relative;
    /* overflow: hidden; removed to allow sticky behavior */
}

/* Background gradient effect similar to reference */
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(13, 148, 136, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr minmax(400px, 500px);
    gap: 60px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

/* Toast notification */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    z-index: 2000;
    background: #1e293b;
    color: #ffffff;
    padding: 20px 32px;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
    font-size: 15px;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    animation: toastFade 3.5s ease forwards;
}

.toast.success {
    border-left: 5px solid #0F8C72;
}

.toast.error {
    border-left: 5px solid #ef4444;
}

@keyframes toastFade {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }

    10% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    90% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Contact information typography */
.contact-info {
    padding-right: 40px;
    position: -webkit-sticky;
    position: sticky;
    top: 120px;
    /* Adjust based on header height */
    height: fit-content;
}

.lets-talk-heading {
    font-size: 100px;
    /* Big typography */
    font-weight: 700;
    line-height: 0.9;
    color: #111827;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
}

.highlight-talk {
    color: #0F8C72;
    /* Teal accent instead of Orange */
    display: block;
}

.contact-text {
    font-size: 18px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 40px;
    max-width: 500px;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 18px;
    color: #475569;
}

.contact-list li i {
    font-size: 24px;
    color: #0F8C72;
}

/* Contact form Light Card */
.contact-form-card {
    background: #ffffff;
    /* White card background */
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Softer shadow */
}

.contact-form-card form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Light Input Fields */
.contact-form-card input,
.contact-form-card textarea {
    background: #f8fafc;
    /* Light input bg */
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #e2e8f0;
    outline: none;
    border-radius: 12px;
    font-size: 15px;
    color: #1e293b;
    transition: all 0.2s ease;
}

.contact-form-card textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus,
.file-label input[type="file"]:focus {
    background: #ffffff;
    border-color: #0F8C72;
    /* Teal focus */
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
    color: #6b7280;
}

/* File upload label light styling */
.file-label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
}

.file-label input[type="file"] {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    outline: none;
    border-radius: 12px;
    padding: 12px;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
}

/* Button Styling matching reference but green */
.contact-form-card button {
    width: 100%;
    padding: 16px;
    background: #0F8C72;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.contact-form-card button:hover {
    background: #0B6654;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
}

@media (max-width: 768px) {
    .lets-talk-heading {
        font-size: 60px;
    }

    .contact-form-card {
        padding: 24px;
    }
}

/* --- Home Page Contact CTA Styles (Restored) --- */

.contact-cta-section {
    padding: 100px 0;
    background: #ffffff;
    text-align: center;
}

.contact-cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    opacity: 0;
    /* Updated for animation */
}

.contact-badge i {
    font-size: 16px;
    color: #ffffff;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0F8C72;
}

.contact-badge span {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-heading {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    color: #000000;
    margin: 0;
    letter-spacing: -0.02em;
    opacity: 0;
    /* Updated for animation */
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: #0F8C72;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(15, 140, 114, 0.25);
    opacity: 0;
    /* Updated for animation */
}

.contact-btn:hover {
    transform: translateY(-4px);
    background: #0B6654;
    box-shadow: 0 15px 35px rgba(15, 140, 114, 0.35);
}

.contact-btn i {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.contact-btn:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .contact-heading {
        font-size: 36px;
    }

    .contact-cta-section {
        padding: 60px 0;
    }

    .contact-cta-section {
        padding: 60px 0;
    }
}

/* Animation Triggers for Contact CTA */
.contact-cta-section.animate-in .contact-badge {
    animation: slideDownFade 1s ease-out forwards;
}

.contact-cta-section.animate-in .contact-heading {
    animation: slideDownFade 1s ease-out 0.2s forwards;
}

.contact-cta-section.animate-in .contact-btn {
    animation: slideDownFade 1s ease-out 0.4s forwards;
}