/* =========================================================
   SHRISHA INFOSERVICES LLP
   CONTACT PAGE
   ========================================================= */


/* =========================================================
   01. CONTAINER
   ========================================================= */

.contact-page-container {
    position: relative;
    z-index: 2;

    width: min(
        calc(100% - 20px),
        var(--shrisha-container)
    );

    margin: 0 auto;
}


/* =========================================================
   02. HERO
   ========================================================= */

.contact-page-hero {
    position: relative;

    padding: 165px 20px 105px;

    overflow: hidden;
}


.contact-page-hero::before {
    content: "";

    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.018) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            black 20%,
            black 70%,
            transparent
        );

    pointer-events: none;
}


.contact-page-hero-glow {
    position: absolute;

    width: 850px;
    height: 850px;

    right: -300px;
    top: -330px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(20,157,255,0.11),
            transparent 67%
        );

    pointer-events: none;
}


.contact-page-eyebrow {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 30px;

    color: var(--shrisha-muted);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.17em;
}


.contact-page-eyebrow > span {
    width: 26px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--shrisha-blue-bright),
            var(--shrisha-gold)
        );
}


.contact-page-hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0,1.3fr)
        minmax(300px,0.7fr);

    gap: 95px;

    align-items: end;
}


.contact-page-hero h1 {
    max-width: 900px;

    margin: 0;

    color: var(--shrisha-white);

    font-size:
        clamp(55px,6vw,84px);

    line-height: 1.03;

    letter-spacing: -0.055em;

    font-weight: 800;
}


.contact-page-hero h1 span {
    display: block;

    padding-bottom: 0.07em;

    background:
        linear-gradient(
            90deg,
            var(--shrisha-blue-bright),
            #50b7ff,
            var(--shrisha-gold)
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


.contact-page-hero-side p {
    margin: 0;

    color: var(--shrisha-muted);

    font-size: 18px;

    line-height: 1.75;
}


/* =========================================================
   03. PROJECT BRIEF
   ========================================================= */

.contact-project {
    padding: 105px 20px;

    border-top:
        1px solid
        rgba(255,255,255,0.06);
}


.contact-project-grid {
    display: grid;

    grid-template-columns:
        minmax(320px,0.75fr)
        minmax(500px,1.25fr);

    gap: 85px;

    align-items: start;
}


.contact-project-intro {
    position: sticky;

    top: 135px;
}


.contact-section-index {
    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 35px;
}


.contact-section-index > span {
    color: var(--shrisha-blue-bright);

    font-family: monospace;

    font-size: 22px;

    font-weight: 800;
}


.contact-section-index small {
    color: #64707c;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.14em;
}


.contact-section-label {
    margin-bottom: 20px;

    color: var(--shrisha-blue-bright);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.15em;
}


.contact-project-intro h2,
.contact-next-heading h2 {
    margin: 0;

    color: var(--shrisha-white);

    font-size:
        clamp(42px,4.5vw,60px);

    line-height: 1.05;

    letter-spacing: -0.05em;

    font-weight: 800;
}


.contact-project-intro h2 span,
.contact-next-heading h2 span {
    display: block;

    color: #aeb9c5;
}


.contact-project-intro > p {
    max-width: 500px;

    margin: 25px 0 0;

    color: var(--shrisha-muted);

    font-size: 17px;

    line-height: 1.75;
}


/* =========================================================
   04. FORM
   ========================================================= */

.contact-form-wrap {
    padding: 42px;

    border:
        1px solid
        rgba(255,255,255,0.08);

    border-radius: 26px;

    background:
        linear-gradient(
            145deg,
            rgba(14,22,32,0.78),
            rgba(8,13,20,0.92)
        );

    box-shadow:
        0 35px 90px
        rgba(0,0,0,0.28);
}


.contact-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 24px;
}


.contact-field {
    display: flex;

    flex-direction: column;

    gap: 10px;
}


.contact-field-full {
    margin-top: 24px;
}


.contact-field label {
    color: var(--shrisha-white);

    font-size: 13px;

    font-weight: 700;
}


.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;

    border:
        1px solid
        rgba(255,255,255,0.09);

    border-radius: 13px;

    outline: none;

    background:
        rgba(255,255,255,0.035);

    color: var(--shrisha-white);

    font-family: inherit;

    font-size: 15px;

    transition:
        border-color 250ms ease,
        background 250ms ease,
        box-shadow 250ms ease;
}


.contact-field input,
.contact-field select {
    height: 54px;

    padding: 0 16px;
}


.contact-field textarea {
    min-height: 170px;

    padding: 16px;

    resize: vertical;

    line-height: 1.6;
}


.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #66727e;
}


.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color:
        rgba(20,157,255,0.45);

    background:
        rgba(20,157,255,0.035);

    box-shadow:
        0 0 0 3px
        rgba(20,157,255,0.07);
}


.contact-field select option {
    background: #0b1119;

    color: var(--shrisha-white);
}


.contact-form-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    margin-top: 30px;
}


.contact-form-footer p {
    max-width: 430px;

    margin: 0;

    color: #6f7b87;

    font-size: 11px;

    line-height: 1.6;
}


.contact-submit {
    min-height: 52px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 11px;

    padding: 0 22px;

    border: 0;

    border-radius: 13px;

    cursor: pointer;

    color: #071019;

    background:
        linear-gradient(
            135deg,
            var(--shrisha-gold),
            var(--shrisha-gold-bright)
        );

    font-family: inherit;

    font-size: 14px;

    font-weight: 800;

    transition:
        transform 250ms ease,
        box-shadow 250ms ease;
}


.contact-submit span {
    font-size: 18px;

    transition: transform 250ms ease;
}


.contact-submit:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 35px
        rgba(249,185,0,0.16);
}


.contact-submit:hover span {
    transform: translateX(4px);
}


/* =========================================================
   05. CONTACT DETAILS
   ========================================================= */

.contact-details {
    padding: 110px 20px;

    border-top:
        1px solid
        rgba(255,255,255,0.055);

    background:
        rgba(11,17,25,0.30);
}


.contact-details-heading {
    max-width: 760px;

    margin-bottom: 60px;
}


.contact-details-heading h2 {
    margin: 0;

    color: var(--shrisha-white);

    font-size:
        clamp(44px,5vw,64px);

    line-height: 1.05;

    letter-spacing: -0.05em;

    font-weight: 800;
}


.contact-details-heading h2 span {
    display: block;

    background:
        linear-gradient(
            90deg,
            var(--shrisha-blue-bright),
            var(--shrisha-gold)
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


.contact-details-grid {
    display: grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    border-top:
        1px solid
        rgba(255,255,255,0.08);

    border-left:
        1px solid
        rgba(255,255,255,0.08);
}


.contact-detail-card {
    min-height: 300px;

    padding: 34px;

    border-right:
        1px solid
        rgba(255,255,255,0.08);

    border-bottom:
        1px solid
        rgba(255,255,255,0.08);
}


.contact-detail-number {
    display: block;

    color: var(--shrisha-blue-bright);

    font-family: monospace;

    font-size: 14px;

    font-weight: 800;
}


.contact-detail-icon {
    width: 46px;
    height: 46px;

    display: grid;

    place-items: center;

    margin-top: 35px;

    border:
        1px solid
        rgba(20,157,255,0.16);

    border-radius: 13px;

    color: var(--shrisha-blue-bright);

    background:
        rgba(20,157,255,0.035);

    font-size: 18px;
}


.contact-detail-card h3 {
    margin: 23px 0 0;

    color: var(--shrisha-white);

    font-size: 24px;
}


.contact-detail-card p {
    margin: 12px 0 0;

    color: var(--shrisha-muted);

    font-size: 14px;

    line-height: 1.7;
}


.contact-detail-card a {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 22px;

    color: var(--shrisha-white);

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;
}


.contact-detail-card a span {
    color: var(--shrisha-blue-bright);
}


.contact-detail-static {
    display: inline-block;

    margin-top: 22px;

    color: var(--shrisha-white);

    font-size: 14px;

    font-weight: 700;
}


/* =========================================================
   06. NEXT STEPS
   ========================================================= */

.contact-next {
    padding: 110px 20px 130px;
}


.contact-next-grid {
    display: grid;

    grid-template-columns:
        minmax(320px,0.8fr)
        minmax(430px,1.2fr);

    gap: 80px;

    align-items: start;
}


.contact-next-list {
    border-top:
        1px solid
        rgba(255,255,255,0.08);
}


.contact-next-item {
    display: grid;

    grid-template-columns:
        45px 1fr;

    gap: 18px;

    padding: 30px 0;

    border-bottom:
        1px solid
        rgba(255,255,255,0.08);
}


.contact-next-item > span {
    padding-top: 4px;

    color: var(--shrisha-blue-bright);

    font-family: monospace;

    font-size: 14px;

    font-weight: 800;
}


.contact-next-item h3 {
    margin: 0;

    color: var(--shrisha-white);

    font-size: 20px;
}


.contact-next-item p {
    max-width: 560px;

    margin: 9px 0 0;

    color: var(--shrisha-muted);

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   07. TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .contact-page-hero-grid {
        grid-template-columns:
            1.15fr
            0.85fr;

        gap: 50px;
    }


    .contact-project-grid {
        grid-template-columns:
            0.8fr
            1.2fr;

        gap: 45px;
    }


    .contact-project-intro {
        position: static;
    }


    .contact-form-wrap {
        padding: 32px;
    }


    .contact-details-grid {
        grid-template-columns:
            repeat(3,1fr);
    }


    .contact-next-grid {
        grid-template-columns:
            0.8fr
            1.2fr;

        gap: 50px;
    }

}


/* =========================================================
   08. MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .contact-page-container {
        width: 100%;
    }


    /* Hero */

    .contact-page-hero {
        padding:
            145px 14px 80px;
    }


    .contact-page-hero-grid {
        display: block;
    }


    .contact-page-hero h1 {
        font-size: 47px;
    }


    .contact-page-hero-side {
        margin-top: 28px;
    }


    .contact-page-hero-side p {
        font-size: 15px;
    }


    /* Project brief */

    .contact-project {
        padding:
            80px 14px;
    }


    .contact-project-grid {
        display: block;
    }


    .contact-project-intro {
        margin-bottom: 45px;
    }


    .contact-project-intro h2 {
        font-size: 40px;
    }


    .contact-project-intro > p {
        font-size: 15px;
    }


    .contact-form-wrap {
        padding: 24px 18px;

        border-radius: 20px;
    }


    .contact-form-grid {
        grid-template-columns: 1fr;
    }


    .contact-field-full {
        margin-top: 22px;
    }


    .contact-form-footer {
        display: block;
    }


    .contact-submit {
        width: 100%;

        margin-top: 22px;
    }


    /* Details */

    .contact-details {
        padding:
            85px 14px;
    }


    .contact-details-heading h2 {
        font-size: 40px;
    }


    .contact-details-grid {
        grid-template-columns: 1fr;
    }


    .contact-detail-card {
        min-height: auto;

        padding: 30px 25px;
    }


    /* Next steps */

    .contact-next {
        padding:
            85px 14px 100px;
    }


    .contact-next-grid {
        display: block;
    }


    .contact-next-heading {
        margin-bottom: 45px;
    }


    .contact-next-heading h2 {
        font-size: 39px;
    }

}

/* =========================================================
   FORM STATUS MESSAGES
   ========================================================= */

.contact-form-message {
    display: flex;
    flex-direction: column;

    gap: 6px;

    margin-bottom: 28px;

    padding: 18px 20px;

    border-radius: 13px;

    font-size: 14px;

    line-height: 1.6;
}


.contact-form-message strong {
    color: var(--shrisha-white);

    font-size: 15px;
}


.contact-form-message span {
    color: var(--shrisha-muted);
}


.contact-form-success {
    border:
        1px solid
        rgba(20, 157, 255, 0.25);

    background:
        rgba(20, 157, 255, 0.07);
}


.contact-form-success strong {
    color: var(--shrisha-blue-bright);
}


.contact-form-error {
    border:
        1px solid
        rgba(249, 185, 0, 0.28);

    background:
        rgba(249, 185, 0, 0.06);
}


.contact-form-error strong {
    color: var(--shrisha-gold);
}