/* ================================================
   CONTACT PAGE - NEOMORPHISM DESIGN (TWO-COLUMN LAYOUT)
   Matching index.html & about.html Quality
   ================================================ */

/* ============= HERO SECTION ============= */
.contact-hero {
    padding: 10rem 2rem 5rem;
    background: var(--neo-bg);
    text-align: center;
    position: relative;
}

.contact-hero .container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 calc(24px + 2rem);
    box-sizing: border-box;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1.75rem;
    background: var(--neo-bg);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    box-shadow: 
        inset 4px 4px 8px var(--neo-shadow-dark),
        inset -4px -4px 8px var(--neo-shadow-light);
}

.hero-badge i {
    font-size: 1.1rem;
}

.contact-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats-mini {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.mini-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--neo-bg);
    border-radius: 20px;
    box-shadow: 
        8px 8px 16px var(--neo-shadow-dark),
        -8px -8px 16px var(--neo-shadow-light);
    transition: all 0.3s ease;
}

.mini-stat:hover {
    transform: translateY(-4px);
}

.mini-stat i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.mini-stat span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ============= TWO-COLUMN CONTACT SECTION ============= */
.contact-combined-section {
    padding: 5rem 0;
    background: var(--neo-bg);
}

.contact-two-column {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 calc(24px + 2rem);
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 3.5rem;
    align-items: stretch; /* Changed from start to stretch */
}

/* Column Titles */
.column-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.column-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* ============= LEFT COLUMN: CONTACT INFO (SINGLE COLUMN) ============= */
.contact-left-column {
    display: flex;
    flex-direction: column;
    height: 100%; /* Full height */
}

.contact-info-card {
    background: var(--neo-bg);
    padding: 3rem 2.5rem;
    border-radius: 30px;
    box-shadow: 
        12px 12px 24px var(--neo-shadow-dark),
        -12px -12px 24px var(--neo-shadow-light);
    flex: 1; /* Stretch to fill available height */
    display: flex;
    flex-direction: column;
}

/* SINGLE COLUMN GRID */
.info-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.info-icon {
    width: 55px;
    height: 55px;
    background: var(--neo-bg);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-color);
    flex-shrink: 0;
    box-shadow: 
        6px 6px 12px var(--neo-shadow-dark),
        -6px -6px 12px var(--neo-shadow-light);
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    transform: scale(1.1) rotate(-8deg);
    box-shadow: 
        8px 8px 16px var(--neo-shadow-dark),
        -8px -8px 16px var(--neo-shadow-light);
}

.info-content {
    flex: 1;
}

.info-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.info-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.info-content a {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    word-break: break-word;
}

.info-content a:hover {
    text-decoration: underline;
}

/* Social Links in Contact Info */
.social-links-contact {
    border-top: 2px solid transparent;
    padding-top: 2rem;
    position: relative;
    margin-top: auto;
}

.social-links-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 2px;
    background: var(--neo-bg);
    box-shadow:
        0 2px 4px var(--neo-shadow-dark),
        0 -1px 2px var(--neo-shadow-light);
}

.social-links-contact h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    text-align: center;
}

.social-icons-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 28%;
    justify-content: center;
    gap: 0.5rem;
    background: var(--neo-bg);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 1.5rem;
    margin: 0.5rem;
    box-shadow: 
        6px 6px 12px var(--neo-shadow-dark),
        -6px -6px 12px var(--neo-shadow-light);
}

.social-link:hover {
    transform: translateY(-4px);
    box-shadow: 
        8px 8px 16px var(--neo-shadow-dark),
        -8px -8px 16px var(--neo-shadow-light);
}

.social-link i {
    font-size: 1.75rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.social-link span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s ease;
    text-align: center;
}

.social-link:hover i,
.social-link:hover span {
    color: var(--primary-color);
}

/* ============= RIGHT COLUMN: CONTACT FORM ============= */
.contact-right-column {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.form-container {
    background: var(--neo-bg);
    padding: 3.5rem 3rem;
    border-radius: 30px;
    box-shadow: 
        12px 12px 24px var(--neo-shadow-dark),
        -12px -12px 24px var(--neo-shadow-light);
    flex: 1; /* Stretch to fill available height */
}

.modern-contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 600;
    margin-bottom: 0.875rem;
    color: var(--text-dark);
    font-size: 1rem;
}

.form-group label i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: var(--neo-bg);
    border: none;
    border-radius: 16px;
    padding: 1.25rem 1.75rem;
    color: var(--text-dark);
    font-size: 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: all 0.3s ease;
    resize: none;
    box-shadow: 
        inset 5px 5px 10px var(--neo-shadow-dark),
        inset -5px -5px 10px var(--neo-shadow-light);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    box-shadow: 
        inset 6px 6px 12px var(--neo-shadow-dark),
        inset -6px -6px 12px var(--neo-shadow-light),
        0 0 0 3px rgba(255, 107, 53, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.form-group textarea {
    min-height: 160px;
    line-height: 1.7;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FF6B35' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    padding-right: 3.5rem;
}

.btn-submit {
    margin-top: 1rem;
    width: 100%;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form Success Message */
.form-success {
    text-align: center;
    padding: 3rem 2rem;
}

.form-success .success-icon {
    width: 100px;
    height: 100px;
    background: var(--neo-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 
        10px 10px 20px var(--neo-shadow-dark),
        -10px -10px 20px var(--neo-shadow-light);
}

.form-success .success-icon i {
    font-size: 3.5rem;
    color: var(--primary-color);
}

.form-success h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-success p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* ============= WHY CONTACT SECTION ============= */
.why-contact-section {
    padding: 5rem 0;
    background: var(--neo-bg);
}

.why-contact-section .section-title,
.why-contact-section .section-subtitle {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 calc(24px + 2rem);
    box-sizing: border-box;
}

.benefits-grid {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 calc(24px + 2rem);
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.benefit-card {
    background: var(--neo-bg);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        10px 10px 20px var(--neo-shadow-dark),
        -10px -10px 20px var(--neo-shadow-light);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        12px 12px 24px var(--neo-shadow-dark),
        -12px -12px 24px var(--neo-shadow-light);
}

.benefit-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--neo-bg);
    opacity: 0.8;
    text-shadow: 
        2px 2px 4px var(--neo-shadow-dark),
        -2px -2px 4px var(--neo-shadow-light);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 
        8px 8px 16px rgba(255, 107, 53, 0.3),
        -4px -4px 12px rgba(255, 255, 255, 0.5);
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefit-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============= FAQ SECTION ============= */
.faq-section {
    padding: 5rem 0;
    background: var(--neo-bg);
}

.faq-section .section-title,
.faq-section .section-subtitle {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 calc(24px + 2rem);
    box-sizing: border-box;
}

.faq-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 calc(24px + 2rem);
    box-sizing: border-box;
}

.faq-item {
    background: var(--neo-bg);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        8px 8px 16px var(--neo-shadow-dark),
        -8px -8px 16px var(--neo-shadow-light);
}

.faq-item:hover {
    box-shadow: 
        10px 10px 20px var(--neo-shadow-dark),
        -10px -10px 20px var(--neo-shadow-light);
}

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

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 2rem;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* ============= CTA SECTION ============= */
.cta-contact-section {
    background: var(--neo-bg);
    padding: 5rem 0;
    text-align: center;
}

.cta-content {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    padding: 4rem calc(24px + 2rem);
    box-sizing: border-box;
    background: var(--neo-bg);
    border-radius: 30px;
    box-shadow: 
        12px 12px 24px var(--neo-shadow-dark),
        -12px -12px 24px var(--neo-shadow-light);
}

.cta-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============= SECTION TITLE STYLES ============= */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 1.25rem;
}

.section-title h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3.5rem;
    line-height: 1.7;
    text-align: center;
}

/* ============= RESPONSIVE DESIGN ============= */

@media (max-width: 1200px) {
    .contact-two-column {
        grid-template-columns: 380px 1fr;
        gap: 3rem;
    }
}

@media (max-width: 991px) {
    /* Container spacing adjustments */
    .contact-hero .container,
    .contact-two-column,
    .why-contact-section .section-title,
    .why-contact-section .section-subtitle,
    .benefits-grid,
    .faq-section .section-title,
    .faq-section .section-subtitle,
    .faq-container,
    .cta-content {
        padding-left: calc(20px + 1.5rem);
        padding-right: calc(20px + 1.5rem);
    }

    .contact-hero {
        min-height: auto;
        padding: 7rem 0 2.5rem;
        display: block;
        text-align: left;
    }

    .contact-hero .container {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
        padding: 2rem 1.4rem;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }

    .contact-hero h1 {
        font-size: 3rem;
    }

    .hero-stats-mini {
        width: 50%;
    }

    .contact-two-column {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        align-items: stretch;
    }

    /* Reverse order on mobile */
    .contact-left-column {
        order: 2; /* Move "How to Reach Me" to bottom */
        height: auto;
    }

    .contact-right-column {
        order: 1; /* Move "Send Me a Message" to top */
    }

    .form-container {
        padding: 3rem 2.5rem;
    }

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

    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Container spacing adjustments */
    .contact-hero .container,
    .contact-two-column,
    .why-contact-section .section-title,
    .why-contact-section .section-subtitle,
    .benefits-grid,
    .faq-section .section-title,
    .faq-section .section-subtitle,
    .faq-container,
    .cta-content {
        padding-left: 1.4rem;
        padding-right: 1.4rem;
    }

    .contact-hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
    }

    .contact-hero .container {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .contact-hero h1 {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1.05rem;
        margin-bottom: 1.75rem;
    }

    .hero-stats-mini {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .mini-stat {
        width: 100%;
        padding: 0.75rem 1rem;
        justify-content: center;
        text-align: center;
    }

    .mini-stat i {
        font-size: 1.3rem;
    }

    .hero-badge {
        align-self: flex-start;
        margin-bottom: 0.75rem;
    }

    .hero-stats-mini .mini-stat:last-child {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 320px;
    }

    .mini-stat span {
        font-size: 0.9rem;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .contact-combined-section {
        padding: 4rem 0;
    }

    .section-title h2,
    .column-title {
        font-size: 2.25rem;
    }

    .section-subtitle,
    .column-subtitle {
        font-size: 1rem;
    }

    .contact-info-card {
        padding: 2.5rem 2rem;
    }

    .social-icons-grid {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        gap: 0.6rem;
    }

    .social-link {
        width: 30%;
        height: auto;
        padding: 0.9rem 0.6rem;
        margin: 0;
        gap: 0.4rem;
    }

    .social-link i {
        font-size: 1.45rem;
    }

    .social-link span {
        font-size: 0.68rem;
    }

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

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

    .cta-content {
        padding: 3rem 2.5rem;
    }

    .cta-content h2 {
        font-size: 2.25rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }

    .faq-section {
        padding: 0 0 1rem;
    }

    .cta-contact-section {
        padding: 0 1.4rem 3rem;
    }
}

@media (max-width: 480px) {
    /* Container spacing adjustments */
    .contact-hero .container,
    .contact-two-column,
    .why-contact-section .section-title,
    .why-contact-section .section-subtitle,
    .benefits-grid,
    .faq-section .section-title,
    .faq-section .section-subtitle,
    .faq-container,
    .cta-content {
        padding-left: 1.4rem;
        padding-right: 1.4rem;
    }

    .contact-hero {
        padding: 6rem 0 2.5rem;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats-mini {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .mini-stat {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-stats-mini .mini-stat:last-child {
        max-width: none;
        justify-self: stretch;
    }

    .section-padding,
    .contact-combined-section {
        padding: 3rem 0;
    }

    .section-title h2,
    .column-title {
        font-size: 1.875rem;
    }

    .section-subtitle,
    .column-subtitle {
        font-size: 0.95rem;
    }

    .contact-info-card {
        padding: 2rem 1.5rem;
    }

    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .social-icons-grid {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    .social-link {
        width: 30%;
        padding: 0.75rem 0.5rem;
        margin: 0;
        gap: 0.35rem;
    }

    .social-link i {
        font-size: 1.3rem;
    }

    .social-link span {
        font-size: 0.66rem;
    }

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

    .form-group label {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }

    .benefit-number {
        font-size: 2.5rem;
        top: 1.5rem;
        right: 1.5rem;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .benefit-card h3 {
        font-size: 1.35rem;
    }

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

    .faq-answer p {
        padding: 0 1.5rem 1.5rem;
        font-size: 0.95rem;
    }

    .cta-content {
        padding: 2.5rem 2rem;
    }

    .cta-content h2 {
        font-size: 1.875rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}
