/* =================================================
   CONTACT PAGE
   Iran Gostaresh
================================================= */


/* =================================================
   VARIABLES
================================================= */

:root {

    --contact-blue: #3b82f6;
    --contact-blue-light: #60a5fa;

    --contact-green: #22c55e;
    --contact-green-light: #4ade80;

    --contact-gold: #d4af37;
    --contact-gold-light: #f1d477;

    --contact-white: #ffffff;

    --contact-bg: #f6fbff;
    --contact-dark: #102033;
    --contact-text: #26384d;
    --contact-muted: #718096;

    --contact-border: rgba(255, 255, 255, 0.65);

    --contact-glass:
        rgba(255, 255, 255, 0.68);

    --contact-shadow:
        0 20px 60px rgba(31, 72, 104, 0.10);

}


@font-face {
    font-family: "IRANSansX";
    src: url("PeydaWeb-Bold.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IRANSansX";
    src: url("PeydaWeb-Bold.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IRANSansX";
    src: url("PeydaWeb-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* =================================================
   RESET
================================================= */

.contact-hero *,
.contact-info-section *,
.contact-main *,
.contact-map-section *,
.contact-cta * {

    box-sizing: border-box;

}


.contact-hero,
.contact-info-section,
.contact-main,
.contact-map-section,
.contact-cta {

    font-family: inherit;

}


/* =================================================
   CONTAINER
================================================= */

.contact-container {

    width: min(1200px, calc(100% - 40px));

    margin-inline: auto;

}


/* =================================================
   HERO
================================================= */

.contact-hero {

    position: relative;

    min-height: 430px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    padding: 100px 20px 80px;

    background:

        radial-gradient(
            circle at 15% 30%,
            rgba(59, 130, 246, .18),
            transparent 35%
        ),

        radial-gradient(
            circle at 85% 70%,
            rgba(34, 197, 94, .16),
            transparent 35%
        ),

        linear-gradient(
            135deg,
            #eaf5ff,
            #f8fffb
        );

}


/* Decorative circles */

.contact-hero::before {

    content: "";

    position: absolute;

    width: 350px;

    height: 350px;

    border-radius: 50%;

    background:
        rgba(59, 130, 246, .08);

    filter: blur(5px);

    top: -150px;

    right: -100px;

}


.contact-hero::after {

    content: "";

    position: absolute;

    width: 280px;

    height: 280px;

    border-radius: 50%;

    background:
        rgba(34, 197, 94, .07);

    bottom: -130px;

    left: -80px;

}


.contact-hero-overlay {

    position: absolute;

    inset: 0;

    pointer-events: none;

}


.contact-hero-content {

    position: relative;

    z-index: 2;

    max-width: 800px;

    text-align: center;

}


.contact-label {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 9px 17px;

    border: 1px solid
        rgba(59, 130, 246, .15);

    background:
        rgba(255, 255, 255, .65);

    backdrop-filter: blur(15px);

    -webkit-backdrop-filter: blur(15px);

    border-radius: 100px;

    color: var(--contact-blue);

    font-size: 14px;

    font-weight: 700;

    box-shadow:
        0 8px 25px rgba(59, 130, 246, .08);

}


.contact-label::before {

    content: "";

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: var(--contact-green);

    box-shadow:
        0 0 0 5px rgba(34, 197, 94, .10);

}


.contact-hero h1 {

    margin: 24px 0 18px;

    font-size: clamp(38px, 6vw, 70px);

    line-height: 1.25;

    font-weight: 900;

    color: var(--contact-dark);

}


.contact-hero h1 span {

    display: inline-block;

    color: var(--contact-blue);

}


.contact-hero p {

    max-width: 650px;

    margin: auto;

    font-size: 17px;

    line-height: 2;

    color: var(--contact-muted);

}


/* =================================================
   INFO CARDS
================================================= */

.contact-info-section {

    position: relative;

    z-index: 5;

    margin-top: -55px;

}


.contact-info-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;

}


.contact-info-card {

    min-height: 115px;

    display: flex;

    align-items: center;

    gap: 16px;

    padding: 20px;

    text-decoration: none;

    color: inherit;

    border-radius: 22px;

    border: 1px solid var(--contact-border);

    background:
        var(--contact-glass);

    backdrop-filter: blur(22px);

    -webkit-backdrop-filter: blur(22px);

    box-shadow: var(--contact-shadow);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;

}


.contact-info-card:hover {

    transform: translateY(-7px);

    box-shadow:
        0 25px 55px rgba(31, 72, 104, .15);

    border-color:
        rgba(59, 130, 246, .25);

}


.contact-card-icon {

    flex: 0 0 50px;

    width: 50px;

    height: 50px;

    display: grid;

    place-items: center;

    border-radius: 16px;

    color: var(--contact-blue);

    background:
        rgba(59, 130, 246, .10);

    font-size: 22px;

}


.contact-card-icon.green {

    color: var(--contact-green);

    background:
        rgba(34, 197, 94, .10);

}


.contact-card-icon.gold {

    color: var(--contact-gold);

    background:
        rgba(212, 175, 55, .12);

}


.contact-info-card div:last-child {

    min-width: 0;

}


.contact-info-card span {

    display: block;

    margin-bottom: 7px;

    color: var(--contact-muted);

    font-size: 12px;

}


.contact-info-card strong {

    display: block;

    color: var(--contact-dark);

    font-size: 14px;

    line-height: 1.7;

    word-break: break-word;

}


/* =================================================
   MAIN CONTACT
================================================= */

.contact-main {

    padding: 110px 0 90px;

    background:
        linear-gradient(
            180deg,
            #f8fcff,
            #ffffff
        );

}


.contact-main-grid {

    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap: 70px;

    align-items: center;

}


/* =================================================
   DETAILS
================================================= */

.section-label {

    display: inline-block;

    color: var(--contact-green);

    font-size: 13px;

    font-weight: 800;

    margin-bottom: 14px;

}


.contact-details h2 {

    margin: 0 0 20px;

    color: var(--contact-dark);

    font-size: clamp(30px, 4vw, 48px);

    line-height: 1.45;

}


.contact-details h2 span {

    color: var(--contact-blue);

}


.contact-details > p {

    max-width: 560px;

    margin: 0;

    color: var(--contact-muted);

    font-size: 15px;

    line-height: 2.1;

}


/* =================================================
   SOCIAL
================================================= */

.contact-social-section {

    margin-top: 40px;

}


.contact-social-section h3 {

    margin: 0 0 18px;

    color: var(--contact-dark);

    font-size: 17px;

}


.contact-socials {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;

}


.social-card {

    display: flex;

    align-items: center;

    gap: 12px;

    min-height: 58px;

    padding: 12px 15px;

    border-radius: 17px;

    text-decoration: none;

    color: var(--contact-dark);

    background:
        rgba(255, 255, 255, .72);

    border: 1px solid
        rgba(15, 23, 42, .06);

    box-shadow:
        0 10px 30px rgba(31, 72, 104, .06);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}


.social-card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(31, 72, 104, .11);

}


.social-icon {

    width: 36px;

    height: 36px;

    flex: 0 0 36px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    font-weight: 800;

    background:
        rgba(59, 130, 246, .10);

    color: var(--contact-blue);

}


.social-card.instagram .social-icon {

    color: #c13584;

    background:
        rgba(193, 53, 132, .10);

}


.social-card.telegram .social-icon {

    color: #229ed9;

    background:
        rgba(34, 158, 217, .10);

}


.social-card.whatsapp .social-icon {

    color: #25d366;

    background:
        rgba(37, 211, 102, .10);

}


.social-card.linkedin .social-icon {

    color: #0a66c2;

    background:
        rgba(10, 102, 194, .10);

}


/* =================================================
   FORM
================================================= */

.contact-form-box {

    padding: 35px;

    border-radius: 30px;

    border: 1px solid
        rgba(255, 255, 255, .8);

    background:
        rgba(255, 255, 255, .72);

    backdrop-filter: blur(25px);

    -webkit-backdrop-filter: blur(25px);

    box-shadow:
        0 30px 80px rgba(31, 72, 104, .12);

}


.form-heading {

    margin-bottom: 28px;

}


.form-heading span {

    color: var(--contact-green);

    font-size: 13px;

    font-weight: 800;

}


.form-heading h3 {

    margin: 8px 0 0;

    color: var(--contact-dark);

    font-size: 25px;

}


.contact-form {

    display: flex;

    flex-direction: column;

    gap: 18px;

}


.form-row {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 16px;

}


.form-group {

    display: flex;

    flex-direction: column;

    gap: 8px;

}


.form-group label {

    color: var(--contact-dark);

    font-size: 13px;

    font-weight: 700;

}


.form-group input,
.form-group select,
.form-group textarea {

    width: 100%;

    border: 1px solid
        rgba(15, 23, 42, .08);

    border-radius: 14px;

    background:
        rgba(248, 251, 255, .85);

    color: var(--contact-dark);

    font-family: inherit;

    font-size: 14px;

    outline: none;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;

}


.form-group input,
.form-group select {

    height: 52px;

    padding: 0 15px;

}


.form-group textarea {

    padding: 15px;

    resize: vertical;

    min-height: 145px;

    line-height: 1.9;

}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {

    border-color:
        rgba(59, 130, 246, .45);

    background:
        #ffffff;

    box-shadow:
        0 0 0 4px rgba(59, 130, 246, .08);

}


.form-group input::placeholder,
.form-group textarea::placeholder {

    color: #a0aec0;

}


/* =================================================
   SUBMIT
================================================= */

.contact-submit {

    position: relative;

    min-height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    border: 0;

    border-radius: 15px;

    cursor: pointer;

    color: white;

    font-family: inherit;

    font-size: 14px;

    font-weight: 800;

    background:
        linear-gradient(
            135deg,
            var(--contact-blue),
            var(--contact-green)
        );

    box-shadow:
        0 12px 30px rgba(59, 130, 246, .20);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}


.contact-submit span {

    font-size: 19px;

    transition:
        transform .25s ease;

}


.contact-submit:hover {

    transform: translateY(-3px);

    box-shadow:
        0 18px 40px rgba(59, 130, 246, .27);

}


.contact-submit:hover span {

    transform:
        translateX(-5px);

}


.form-message {

    min-height: 20px;

    text-align: center;

    font-size: 13px;

}


/* =================================================
   MAP
================================================= */

.contact-map-section {

    padding: 90px 0;

    background:
        #f5faff;

}


.map-header {

    margin-bottom: 30px;

}


.map-header h2 {

    margin: 0;

    color: var(--contact-dark);

    font-size: clamp(28px, 4vw, 42px);

}


.map-header h2 span {

    color: var(--contact-blue);

}


.map-wrapper {

    min-height: 420px;

    overflow: hidden;

    border-radius: 30px;

    border: 1px solid
        rgba(255, 255, 255, .8);

    background:
        linear-gradient(
            135deg,
            #eaf5ff,
            #f1fff6
        );

    box-shadow:
        0 25px 70px rgba(31, 72, 104, .09);

}


.map-placeholder {

    min-height: 420px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    text-align: center;

    padding: 30px;

}


.map-placeholder-icon {

    width: 70px;

    height: 70px;

    display: grid;

    place-items: center;

    border-radius: 22px;

    margin-bottom: 18px;

    color: var(--contact-blue);

    background:
        rgba(59, 130, 246, .10);

    font-size: 30px;

}


.map-placeholder h3 {

    margin: 0 0 10px;

    color: var(--contact-dark);

    font-size: 22px;

}


.map-placeholder p {

    max-width: 450px;

    margin: 0 0 22px;

    color: var(--contact-muted);

    line-height: 1.9;

}


.map-button {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 13px 20px;

    border-radius: 13px;

    text-decoration: none;

    color: white;

    background:
        var(--contact-blue);

    font-size: 13px;

    font-weight: 700;

    transition:
        transform .25s ease;

}


.map-button:hover {

    transform: translateY(-3px);

}


/* =================================================
   CTA
================================================= */

.contact-cta {

    position: relative;

    overflow: hidden;

    padding: 100px 20px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #edf7ff,
            #f2fff7
        );

}


.contact-cta::before {

    content: "";

    position: absolute;

    width: 300px;

    height: 300px;

    border-radius: 50%;

    background:
        rgba(59, 130, 246, .08);

    top: -180px;

    right: 10%;

}


.contact-cta::after {

    content: "";

    position: absolute;

    width: 250px;

    height: 250px;

    border-radius: 50%;

    background:
        rgba(34, 197, 94, .08);

    bottom: -160px;

    left: 10%;

}


.contact-cta-content {

    position: relative;

    z-index: 2;

}


.contact-cta-content > span {

    color: var(--contact-green);

    font-size: 14px;

    font-weight: 800;

}


.contact-cta h2 {

    margin: 15px 0;

    color: var(--contact-dark);

    font-size: clamp(32px, 5vw, 55px);

}


.contact-cta h2 strong {

    color: var(--contact-blue);

}


.contact-cta p {

    margin: 0 auto 25px;

    color: var(--contact-muted);

    font-size: 15px;

}


.contact-cta-button {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 15px 26px;

    border-radius: 15px;

    text-decoration: none;

    color: white;

    font-size: 14px;

    font-weight: 800;

    background:
        linear-gradient(
            135deg,
            var(--contact-blue),
            var(--contact-green)
        );

    box-shadow:
        0 15px 35px rgba(59, 130, 246, .18);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}


.contact-cta-button:hover {

    transform: translateY(-4px);

    box-shadow:
        0 20px 45px rgba(59, 130, 246, .25);

}


.contact-cta-button span {

    font-size: 20px;

}


/* =================================================
   TABLET
================================================= */

@media (max-width: 1000px) {

    .contact-info-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .contact-main-grid {

        grid-template-columns:
            1fr;

        gap: 50px;

    }


    .contact-details {

        max-width: 750px;

        margin-inline: auto;

        width: 100%;

    }


    .contact-form-box {

        max-width: 750px;

        width: 100%;

        margin-inline: auto;

    }

}


/* =================================================
   MOBILE
================================================= */

@media (max-width: 700px) {

    .contact-container {

        width:
            min(100% - 28px, 1200px);

    }


    .contact-hero {

        min-height: 390px;

        padding:
            90px 16px 70px;

    }


    .contact-hero h1 {

        font-size: 38px;

        margin-top: 20px;

    }


    .contact-hero p {

        font-size: 14px;

        line-height: 1.9;

    }


    .contact-info-section {

        margin-top: -35px;

    }


    .contact-info-grid {

        grid-template-columns:
            1fr;

        gap: 10px;

    }


    .contact-info-card {

        min-height: 92px;

        border-radius: 18px;

    }


    .contact-main {

        padding:
            75px 0;

    }


    .contact-details h2 {

        font-size: 31px;

    }


    .contact-socials {

        grid-template-columns:
            1fr 1fr;

    }


    .contact-form-box {

        padding: 22px;

        border-radius: 23px;

    }


    .form-row {

        grid-template-columns:
            1fr;

        gap: 18px;

    }


    .form-group input,
    .form-group select {

        height: 50px;

    }


    .contact-map-section {

        padding: 70px 0;

    }


    .map-wrapper,
    .map-placeholder {

        min-height: 350px;

    }


    .map-wrapper {

        border-radius: 22px;

    }


    .contact-cta {

        padding:
            75px 20px;

    }


    .contact-cta h2 {

        font-size: 35px;

    }

}


/* =================================================
   SMALL MOBILE
================================================= */

@media (max-width: 420px) {

    .contact-hero h1 {

        font-size: 32px;

    }


    .contact-socials {

        grid-template-columns:
            1fr;

    }


    .contact-form-box {

        padding: 18px;

    }


    .contact-info-card strong {

        font-size: 13px;

    }


    .contact-cta h2 {

        font-size: 31px;

    }

}


/* =================================================
   REDUCED MOTION
================================================= */

@media (prefers-reduced-motion: reduce) {

    .contact-info-card,
    .social-card,
    .contact-submit,
    .map-button,
    .contact-cta-button {

        transition: none;

    }

}