.contect-main {
    width: 100%;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.25), transparent 40%),
        linear-gradient(135deg, #F5BA5E, #E9A93C);
    padding-top: 60px;
    overflow: hidden;
}

/* ---------- HEADING ---------- */
.contect-main .contect-h1 h1 {
    color: #fff;
    font-weight: 800;
    font-size: 42px;
    letter-spacing: 1px;
    text-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* ---------- MAIN WRAPPER ---------- */
.contect-main .contect-inner {
    width: 100%;
    display: flex;
    margin-bottom: 60px;
}

/* ---------- LEFT IMAGE ---------- */
.contect-main .contect-inner .left {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contect-main .contect-inner .left .img {
    width: 500px;
    height: 500px;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    border: 8px solid rgba(255,255,255,0.35);
    background: linear-gradient(135deg, #5C370C, #7A4A12);
    box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}

.contect-main .contect-inner .left .img::before {
    content: "";
    position: absolute;
    inset: -50%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.35),
        transparent
    );
    transform: rotate(25deg);
    transition: 1.2s;
}

.contect-main .contect-inner .left .img:hover::before {
    inset: 200%;
}

.contect-main .contect-inner .left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
    transition: transform 1s ease;
}

.contect-main .contect-inner .left img:hover {
    transform: scale(1.12);
}

/* ---------- RIGHT FORM ---------- */
.contect-main .contect-inner .right {
    width: 50%;
    padding-right: 6%;
}

.contect-main .contect-inner .right h4 {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    text-align: center;
}

.contect-main .contect-inner .right p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    text-align: center;
}

/* ---------- INPUT BOX ---------- */
.contect-main .contect-inner .right .input {
    width: 100%;
    margin-top: 22px;
    display: flex;
    justify-content: center;
    position: relative;
}

.contect-main .contect-inner .right .input i {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.8);
}

.contect-main .contect-inner .right .input input,
.contect-main .contect-inner .right .input textarea {
    width: 90%;
    padding: 18px 22px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 14px;
    color: #fff;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    outline: none;
    font-size: 16px;
    transition: 0.4s;
}

.contect-main .contect-inner .right .input textarea {
    height: 160px;
    resize: none;
}

.contect-main .contect-inner .right .input input:focus,
.contect-main .contect-inner .right .input textarea:focus {
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.35);
}

/* ---------- BUTTON ---------- */
.contect-main .contect-inner .right .input button {
    margin: 25px auto;
    padding: 14px 34px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    color: #5C370C;
    background: linear-gradient(135deg, #fff, #FCE6B0);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    transition: 0.4s;
}

.contect-main .contect-inner .right .input button:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 40px rgba(0,0,0,0.4);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1048px) {
    .contect-main .contect-inner {
        flex-direction: column;
    }

    .contect-main .contect-inner .left,
    .contect-main .contect-inner .right {
        width: 100%;
        padding: 0;
        margin: 30px auto;
    }
}

@media (max-width: 542px) {
    .contect-main .contect-inner .left .img {
        width: 300px;
        height: 300px;
    }

    .contect-main .contect-h1 h1 {
        font-size: 30px;
    }
}
/* ================= SUCCESS POPUP ================= */
.success-popup {
    position: fixed;
    top: 90px;
    right: -380px;
    width: 340px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 22px 20px 26px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
    z-index: 9999;
    animation: slideInRight .6s ease forwards;
}

@keyframes slideInRight {
    to {
        right: 25px;
    }
}

.popup-icon {
    text-align: center;
    font-size: 50px;
    color: #2ECC71;
    margin-bottom: 10px;
}

.success-popup h3 {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #5C370C;
    margin-bottom: 6px;
}

.success-popup p {
    text-align: center;
    font-size: 15px;
    color: #555;
}

/* Timer line */
.popup-timer {
    width: 100%;
    height: 4px;
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
    margin-top: 18px;
    overflow: hidden;
}

.popup-timer span {
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(135deg,#2ECC71,#27AE60);
    animation: timerLine 4s linear forwards;
}

@keyframes timerLine {
    from { width: 100%; }
    to   { width: 0%; }
}

