﻿/* Font definition removed to use global defaults from home/style.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif; -- REMOVED to match Home Page */
    color: #1a1a1a;
    background: #fff;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px;
}

/* --- Contact Page Header Overrides (Dark Hero) --- */
/* Hide toggle on tablet, only show on mobile */
.header .mobile-toggle {
    display: none !important;
}

@media (max-width: 767px) {
    .header .mobile-toggle {
        display: block !important;
        color: #fff !important;
    }
}

/* Fix "Let's Talk" Button: Transparent with White Text */
.header .header-btn {
    color: #fff !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* Remove the white background pseudo-element to prevent white-on-white */
.header .header-btn::after {
    display: none !important;
}

.header .header-btn:hover {
    background: #fff !important;
    color: #007BFF !important;
    border-color: #fff !important;
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../images/contact-hero-bg.png') center center / cover no-repeat;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* --- Collaboration Section --- */
.collaboration-section {
    background: #fff5ff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.floating-cube {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.floating-cube img {
    height: 400px;
    filter: blur(1px);
}

.collab-header {
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
    text-align: center;
}

.badge-collab {
    background: #e7eaff;
    color: #4c6ef5;
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

.collab-title {
    font-size: 64px;
    font-weight: 700;
    color: #2d3e50;
    margin-bottom: 0px;
}

.collab-form {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.inputs-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.collab-input,
.collab-textarea {
    width: 100%;
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 100px;
    padding: 18px 25px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
}

.collab-textarea {
    border-radius: 30px;
    resize: none;
    margin-bottom: 25px;
}

.collab-input:focus,
.collab-textarea:focus {
    border-color: #4c6ef5;
    box-shadow: 0 0 0 4px rgba(76, 110, 245, 0.1);
}

.btn-send-now {
    background: #1c5bff;
    color: #fff;
    border: none;
    padding: 18px 80px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-send-now:hover {
    background: #0044ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(28, 91, 255, 0.3);
}

/* --- Project Idea Section --- */
.project-idea-section {
    padding: 100px 0;
    background: #fff;
}

.idea-card {
    background: #f8f9fc;
    border-radius: 40px;
    padding: 60px 100px;
    max-width: 1400px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.idea-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.idea-visual {
    flex: 1;
}

.idea-visual img {
    width: 100%;
    max-width: 350px;
    display: block;
    margin: 0 auto;
}

.idea-content {
    flex: 1.5;
}

.idea-title {
    font-size: 38px;
    font-weight: 700;
    color: #2d3e50;
    margin-bottom: 25px;
    line-height: 1.25;
}

.text-highlight {
    color: #1a56ff;
}

.idea-desc {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.5);
    line-height: 1.6;
    margin-bottom: 30px;
}

.idea-stats {
    display: flex;
    gap: 80px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 32px;
    font-weight: 700;
    color: #333;
}

.stat-label {
    font-size: 14px;
    color: #777;
    margin-top: 5px;
}

.pill-input-group {
    background: #fff;
    border-radius: 100px;
    padding: 10px 10px 10px 25px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.pill-input-group i {
    color: #1c5bff;
    margin-right: 15px;
}

.idea-input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 15px;
    color: #333;
}

.btn-idea-send {
    background: #1c5bff;
    color: #fff;
    border: none;
    padding: 12px 35px;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-idea-send:hover {
    background: #0044ff;
}

/* --- Footer Alignment --- */
/* .footer-section { background: #fff !important; } */

/* Cleaned up legacy toggle styles */

/* Removed max-width: 992px block that forced display:block */


/* --- Responsive --- */
@media (max-width: 1024px) {
    .idea-flex {
        flex-direction: column;
        text-align: center;
    }

    .idea-stats {
        justify-content: center;
    }

    .collab-title {
        font-size: 48px;
    }
}

@media (max-width: 767px) {

    /* --- TYPOGRAPHY & ALIGNMENT --- */
    .hero-title,
    .idea-title,
    .footer-top h2 {
        font-size: 22px !important;
        /* Reduced from 26px */
        text-align: left !important;
        margin-left: 0 !important;
        line-height: 1.2 !important;
    }

    .hero-subtitle,
    .idea-desc,
    .idea-card p,
    .footer-section p,
    .brand-col p {
        font-size: 13px !important;
        /* Reduced from 14px */
        text-align: left !important;
        line-height: 1.5 !important;
        margin-left: 0 !important;
        max-width: 100% !important;
    }

    /* --- Footer Consistency handled by global home.css --- */
    /* Removed local overrides to match Home Page design */

    /* --- SPECIFIC SECTION FIXES --- */
    .hero-content,
    .form-container,
    .idea-card,
    .contact-info {
        text-align: left !important;
        align-items: flex-start !important;
    }

    .hero-container,
    .container,
    .idea-card {
        padding: 0 20px !important;
    }

    .inputs-row {
        grid-template-columns: 1fr;
    }

    .btn-send-now {
        padding: 18px 40px;
        width: 100%;
    }

    .idea-card {
        padding: 40px 20px;
    }

    .hero-section {
        height: 350px !important;
        /* Reduced from 550px */
        padding: 0 20px !important;
    }

    .idea-stats {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {

    .hero-title,
    .collab-title,
    .idea-title,
    .footer-top h2 {
        font-size: 20px !important;
        /* Further reduced */
    }

    .hero-subtitle,
    .idea-desc,
    .idea-card p,
    .footer-section p,
    .brand-col p {
        font-size: 12px !important;
    }
}