/* ================================================
   CONTACT SECTION
   ================================================ */
.ct-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: transparent;
}

/* ── WATERMARK ── */
.ct-watermark {
    position: absolute;
    top: 4%;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(5rem, 14vw, 13rem);
    font-weight: 900;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.025);
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    user-select: none;
    transition: transform 0.1s linear;
}

/* ── DECORATIVE LINES ── */
.ct-deco-line {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

.ct-deco-line--1 {
    top: 12%;
    right: -4%;
    width: 500px;
    height: 1px;
    transform: rotate(-28deg);
}

.ct-deco-line--2 {
    bottom: 18%;
    right: -2%;
    width: 380px;
    height: 1px;
    transform: rotate(-38deg);
}

/* Small circles at line endpoints */
.ct-deco-circle {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.ct-deco-circle--1 {
    top: 8%;
    right: 18%;
}

.ct-deco-circle--2 {
    top: 22%;
    right: 8%;
}

/* ── Ambient ── */
.ct-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(120px);
    opacity: 0.3;
}

.ct-blob--1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
    top: 15%;
    left: -5%;
    animation: ctBlobFloat 14s ease-in-out infinite;
}

.ct-blob--2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.07) 0%, transparent 70%);
    bottom: 5%;
    right: 5%;
    animation: ctBlobFloat 16s ease-in-out infinite reverse;
}

@keyframes ctBlobFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(15px, -12px) scale(1.04);
    }
}

.ct-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.3;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 0;
}

/* ── Container ── */
.ct-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── Grid: two columns ── */
.ct-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
    align-items: start;
}

/* ================================================
   LEFT COLUMN — scroll reveal
   ================================================ */
.ct-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
        transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ct-left.ct-revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Badge */
.ct-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ct-heading {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin: 0 0 1rem;
}

.ct-desc {
    font-size: 0.93rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* ── Contact info cards ── */
.ct-info-cards {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.ct-info-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    overflow: hidden;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition:
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
        background 0.4s ease;

    /* Stagger via scroll reveal */
    opacity: 0;
    transform: translateY(20px);
}

.ct-info-card.ct-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* card shine */
.ct-info-card__shine {
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04), transparent);
    pointer-events: none;
    z-index: 3;
    transition: left 0.7s ease;
}

.ct-info-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
    transition: background 0.3s, color 0.3s, transform 0.4s;
}

.ct-info-card__body {
    flex: 1;
    position: relative;
    z-index: 2;
}

.ct-info-card__body h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.15rem;
}

.ct-info-card__body p {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.ct-info-card__arrow {
    color: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
    transition: color 0.3s, transform 0.3s;
    position: relative;
    z-index: 2;
}

/* Card hover */
@media (hover: hover) {
    .ct-info-card:hover {
        border-color: rgba(255, 255, 255, 0.16);
        transform: translateY(-4px) !important;
        box-shadow:
            0 14px 40px rgba(0, 0, 0, 0.35),
            0 0 25px rgba(34, 197, 94, 0.04),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.04);
    }

    .ct-info-card:hover .ct-info-card__shine {
        left: 140%;
    }

    .ct-info-card:hover .ct-info-card__icon {
        background: rgba(139, 92, 246, 0.15);
        color: #fff;
        transform: scale(1.08);
    }

    .ct-info-card:hover .ct-info-card__arrow {
        color: rgba(255, 255, 255, 0.7);
        transform: translate(2px, -2px);
    }
}

/* ================================================
   RIGHT COLUMN — FORM (scroll reveal)
   ================================================ */
.ct-form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 2rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;

    /* reveal */
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s 0.15s cubic-bezier(0.25, 0.8, 0.25, 1),
        transform 0.8s 0.15s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ct-form.ct-revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Glass overlay inside form */
.ct-form__glass-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 40%, rgba(0, 0, 0, 0.05) 100%);
    border-radius: 24px;
    pointer-events: none;
    z-index: 0;
}

/* ── Fields ── */
.ct-field {
    position: relative;
    z-index: 1;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition:
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        background 0.3s ease;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.ct-field--focus {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(255, 255, 255, 0.04);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.12),
        0 0 25px rgba(139, 92, 246, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ct-field input,
.ct-field textarea {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 1.1rem 1.4rem;
    font-size: 0.95rem;
    color: #fff;
    font-family: inherit;
    resize: none;
    line-height: 1.6;
    box-sizing: border-box;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
}

.ct-field--textarea textarea {
    min-height: 180px;
}

/* Submit */
.ct-submit {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 1.1rem;
    border: none;
    border-radius: 14px;
    background: #fff;
    color: #000;
    font-size: 1rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: 0.3px;
    margin-top: 0.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.08);
}

.ct-submit:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.14);
}

.ct-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.08);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 900px) {
    .ct-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .ct-watermark {
        font-size: 4.5rem;
    }

    .ct-deco-line--1,
    .ct-deco-line--2,
    .ct-deco-circle {
        display: none;
    }
}

@media (max-width: 768px) {
    .ct-section {
        padding: 80px 0;
    }

    .ct-heading {
        font-size: 2.2rem;
    }

    .ct-watermark {
        font-size: 3rem;
    }

    .ct-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .ct-section {
        padding: 60px 0;
    }

    .ct-info-card {
        padding: 1rem 1.2rem;
    }

    .ct-field input,
    .ct-field textarea {
        padding: 1rem 1.2rem;
        font-size: 0.9rem;
    }
}