/* ===== Contact page ===== */
.c-grid { align-items: start }
.c-left { display: grid; gap: 24px }

/* ===== Contact details box (card) ===== */
.info {
    --tx: box-shadow .5s var(--ease);
    position: relative;
    background: var(--mist);
    border: 1px solid #b9c6d9;
    border-radius: 18px;
    padding: 28px 30px;
    overflow: hidden;
    transition: var(--tx)
}

.info:hover { box-shadow: 0 30px 60px -40px rgba(11, 95, 216, .55) }

.info h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 .5em; font-size: 1rem }
.info h3:not(:first-child) { margin-top: 18px; padding-top: 18px; border-top: 1px dashed #b9c6d9 }
.info p { margin: 0; padding-left: 50px }
.info a { word-break: break-word; text-decoration: none; background: linear-gradient(var(--amber), var(--amber)) left bottom/0% 2px no-repeat; transition: background-size .4s var(--ease) }
.info a:hover { background-size: 100% 2px }

.ci {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 11px;
    background: #fff;
    color: var(--blue);
    border: 1px solid var(--line);
    transition: background .4s, color .4s, transform .5s var(--spring)
}

.ci svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round }
.info h3:hover .ci { background: var(--blue); color: #fff; transform: rotate(-10deg) scale(1.1) }

/* phone icon halka sa ring karta hai */
.info h3:nth-of-type(2) .ci svg { animation: ring 3.2s ease-in-out infinite }

/* ===== Map card ===== */
.map-card { position: relative; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; transition: box-shadow .5s var(--ease) }
.map-card:hover { box-shadow: 0 30px 60px -40px rgba(11, 95, 216, .55) }
.map-card iframe { display: block; width: 100%; height: 340px; border: 0 }
.map-links { display: flex; gap: 10px 22px; flex-wrap: wrap; padding: 14px 18px; border-top: 1px solid var(--line); background: var(--mist); font-weight: 600 }
.map-links a { text-decoration: none; background: linear-gradient(var(--amber), var(--amber)) left bottom/0% 2px no-repeat; transition: background-size .4s var(--ease) }
.map-links a:hover { background-size: 100% 2px }

/* ===== Enquiry form ===== */
#enq {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 40px 80px -50px rgba(11, 95, 216, .55);
    overflow: hidden
}

/* form ke top par chalti hui current line */
#enq::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--blue-l), var(--amber), var(--blue));
    background-size: 300% 100%;
    animation: current 4s linear infinite
}

@keyframes current { to { background-position: -300% 0 } }

#enq h3 { font-size: 1.3rem; margin-bottom: 18px }
#enq label { display: block; font-weight: 600; margin-bottom: 16px; transition: color .3s }
#enq label:focus-within { color: var(--blue) }

#enq input, #enq select, #enq textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: .78em .9em;
    border: 1.5px solid #b9c6d9;
    border-radius: 10px;
    font: 400 1rem "Source Sans 3";
    color: var(--ink);
    background: var(--mist);
    transition: border-color .3s, box-shadow .3s, background .3s
}

#enq input:hover, #enq select:hover, #enq textarea:hover { border-color: #8fa3c0 }
#enq input:focus, #enq select:focus, #enq textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(11, 95, 216, .14) }

.err { color: #b3261e; min-height: 1.4em; margin: 0 0 8px; font-weight: 600 }

/* galat input par form halka hilta hai */
#enq.shake { animation: shake .5s var(--ease) }

@keyframes shake {
    20% { transform: translateX(-8px) }
    40% { transform: translateX(7px) }
    60% { transform: translateX(-5px) }
    80% { transform: translateX(3px) }
}

@media(max-width:560px) {
    .map-card iframe { height: 260px }
    .info { padding: 22px }
    .info p { padding-left: 0 }
    #enq { padding: 24px 20px }
}
