/* =========================================================
   KIYA LEARNING - CODING CONTACT PAGE
========================================================= */

.contact-page {
    overflow: hidden;
    background: #fff8f5;
    color: #303136;
}

/* =========================================================
   HERO
========================================================= */

.contact-page-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    padding: 75px 0 55px;
    overflow: hidden;
    background: #111216;
    color: #fff;
}

.contact-hero-image {
    position: absolute;
    inset: 0;
    background-image: url('../images/coding-contact.png');
    background-size: cover;
    background-position: center center;
    transform: scale(1.02);
    pointer-events: none;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(17,18,22,.96) 0%,
            rgba(17,18,22,.88) 42%,
            rgba(17,18,22,.68) 72%,
            rgba(17,18,22,.78) 100%
        );
}

.contact-page-hero::after {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    right: -180px;
    top: -180px;
    border-radius: 50%;
    background: rgba(244,81,30,.10);
    filter: blur(30px);
    pointer-events: none;
    z-index: 2;
}

.contact-page-hero .container {
    position: relative;
    z-index: 3;
}

.contact-hero-content {
    max-width: 800px;
}

.contact-page .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.contact-page-hero .eyebrow {
    color: #ff806d;
}

.contact-page-hero h1 {
    margin: 14px 0 16px;
    max-width: 800px;
    color: #fff;
    font-size: clamp(38px, 4.5vw, 60px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.contact-page-hero h1 em {
    color: #ff6b5c;
    font-style: normal;
}

.contact-page-hero p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.75);
    font-size: 16px;
    line-height: 1.7;
}

/* =========================================================
   BREADCRUMB
========================================================= */

.contact-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 7px 12px;
    min-height: 30px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 7px;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(6px);
    font-size: 11px;
    line-height: 1;
    color: rgba(255,255,255,.55);
}

.contact-breadcrumb a {
    color: rgba(255,255,255,.90);
    text-decoration: none;
    transition: .2s ease;
}

.contact-breadcrumb a:hover {
    color: #ff806d;
}

.contact-breadcrumb span {
    color: rgba(255,255,255,.40);
}

.contact-breadcrumb span:last-child {
    color: #ff806d;
    font-weight: 600;
}

/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-section {
    padding: 90px 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(244,81,30,.04), transparent 25%),
        #fff8f5;
}

.contact-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 30px;
    align-items: stretch;
}

/* =========================================================
   CONTACT INFORMATION
========================================================= */

.contact-info {
    position: relative;
    overflow: hidden;
    padding: 48px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 90% 5%, rgba(244,81,30,.16), transparent 28%),
        linear-gradient(145deg, #18191d, #101114);
    color: #fff;
    box-shadow: 0 25px 65px rgba(0,0,0,.13);
}

.contact-info::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -100px;
    bottom: -100px;
    border-radius: 50%;
    border: 1px solid rgba(244,81,30,.18);
    box-shadow:
        0 0 0 30px rgba(244,81,30,.025),
        0 0 0 60px rgba(244,81,30,.02);
    pointer-events: none;
}

.code-decoration {
    position: absolute;
    top: 22px;
    right: 28px;
    display: flex;
    gap: 2px;
    color: rgba(244,81,30,.12);
    font-size: 58px;
    line-height: 1;
    font-weight: 900;
}

.contact-info .eyebrow {
    color: #ff806d;
}

.contact-info h2 {
    position: relative;
    z-index: 2;
    margin: 12px 0 18px;
    color: #fff;
    font-size: clamp(30px,3vw,42px);
    font-weight: 800;
    line-height: 1.15;
}

.contact-info h2 span {
    color: #ff6b5c;
}

.contact-info > p {
    position: relative;
    z-index: 2;
    margin-bottom: 35px;
    color: rgba(255,255,255,.67);
    font-size: 15px;
    line-height: 1.8;
}

/* =========================================================
   CONTACT DETAILS
========================================================= */

.contact-details {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item-icon {
    flex: 0 0 47px;
    width: 47px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(244,81,30,.11);
    border: 1px solid rgba(244,81,30,.20);
    color: #ff806d;
    font-size: 17px;
    transition: .25s ease;
}

.contact-item:hover .contact-item-icon {
    background: #f4511e;
    border-color: #f4511e;
    color: #fff;
    transform: translateY(-2px);
}

.contact-item-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-item-content small {
    color: rgba(255,255,255,.42);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item-content a,
.contact-item-content span {
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-item-content a:hover {
    color: #ff806d;
}

/* =========================================================
   SOCIAL MEDIA
========================================================= */

.contact-social {
    position: relative;
    z-index: 3;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,.09);
}

.contact-social-title {
    margin-bottom: 13px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.contact-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-social-icons a {
    width: 39px;
    height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 11px;
    color: rgba(255,255,255,.75);
    text-decoration: none;
    background: rgba(255,255,255,.045);
    transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}

.contact-social-icons a i {
    font-size: 15px;
}

.contact-social-icons a:hover {
    transform: translateY(-4px);
    background: #f4511e;
    border-color: #f4511e;
    color: #fff;
}

/* =========================================================
   FORM BOX
========================================================= */

.contact-form-box {
    position: relative;
    overflow: hidden;
    padding: 0 48px 48px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #eee2de;
    box-shadow: 0 20px 55px rgba(0,0,0,.055);
}

.contact-form-box::after {
    content: "</>";
    position: absolute;
    right: -10px;
    bottom: -30px;
    color: rgba(244,81,30,.035);
    font-size: 150px;
    line-height: 1;
    font-weight: 900;
    pointer-events: none;
}

.form-code-label {
    height: 48px;
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 -48px 35px;
    padding: 0 18px;
    background: #18191d;
    border-radius: 24px 24px 0 0;
}

.form-code-label .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.form-code-label .red { background: #ff5f57; }
.form-code-label .yellow { background: #ffbd2e; }
.form-code-label .green { background: #28c840; }

.file-name {
    margin-left: 10px;
    color: rgba(255,255,255,.5);
    font-family: monospace;
    font-size: 11px;
}

.form-heading {
    position: relative;
    z-index: 2;
}

.contact-form-box .eyebrow {
    color: #f4511e;
}

.contact-form-box h2 {
    margin: 11px 0;
    color: #18191d;
    font-size: clamp(30px,3vw,40px);
    font-weight: 800;
    line-height: 1.15;
}

.contact-form-box h2 span {
    color: #f4511e;
}

.contact-form-box > .form-heading > p {
    max-width: 650px;
    margin-bottom: 30px;
    color: #72747a;
    font-size: 15px;
    line-height: 1.75;
}

/* =========================================================
   FORM
========================================================= */

.contact-form {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 19px;
}

.form-group {
    min-width: 0;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #27282d;
    font-size: 13px;
    font-weight: 700;
}

.form-group label span {
    color: #f4511e;
}

.input-wrap {
    position: relative;
}

.input-wrap > i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #a5a6aa;
    font-size: 15px;
    pointer-events: none;
}

.textarea-wrap > i {
    top: 18px;
    transform: none;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid #e7dfdc;
    border-radius: 11px;
    background: #fffaf8;
    color: #292a2e;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-form input,
.contact-form select {
    height: 51px;
    padding: 0 15px 0 43px;
}

.contact-form textarea {
    min-height: 145px;
    padding: 14px 15px 14px 43px;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #aaa5a2;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #f4511e;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(244,81,30,.09);
}

.select-wrap select {
    appearance: none;
    cursor: pointer;
}

/* =========================================================
   SUBMIT
========================================================= */

.contact-submit {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 3px;
}

.contact-submit button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 25px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg,#f4511e,#d83d10);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(244,81,30,.19);
    transition: transform .25s ease, box-shadow .25s ease;
}

.contact-submit button i {
    font-size: 16px;
    transition: transform .25s ease;
}

.contact-submit button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(244,81,30,.27);
}

.contact-submit button:hover i {
    transform: translateX(4px);
}

.contact-submit small {
    color: #999;
    font-size: 11px;
}

.contact-submit small i {
    color: #f4511e;
    margin-right: 4px;
}

/* =========================================================
   ADDRESS
========================================================= */

.contact-address-section {
    padding: 0 0 90px;
    background: #fff8f5;
}

.address-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px 38px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #eee2de;
    box-shadow: 0 15px 40px rgba(0,0,0,.045);
}

.address-card::after {
    content: "LOCATION";
    position: absolute;
    right: 30px;
    top: 20px;
    color: rgba(244,81,30,.045);
    font-size: 45px;
    font-weight: 900;
    letter-spacing: 3px;
    pointer-events: none;
}

.address-card-icon {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #fff0ec;
    color: #f4511e;
    font-size: 24px;
}

.address-card-content {
    position: relative;
    z-index: 2;
}

.address-card-content .eyebrow {
    color: #f4511e;
}

.address-card h3 {
    margin: 6px 0 7px;
    color: #18191d;
    font-size: 24px;
    font-weight: 800;
}

.address-card p {
    margin: 0;
    color: #72747a;
    font-size: 14px;
    line-height: 1.8;
}

.address-code {
    position: absolute;
    right: 38px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: monospace;
    font-size: 10px;
    font-weight: 700;
    color: #d5cfcc;
}

.address-code span:first-child {
    color: #f4511e;
}

/* =========================================================
   CTA
========================================================= */

.contact-cta {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background:
        radial-gradient(circle at 90% 50%, rgba(244,81,30,.16), transparent 28%),
        linear-gradient(135deg,#18191d,#101114);
}

.cta-code-bg {
    position: absolute;
    right: 7%;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(244,81,30,.055);
    font-family: monospace;
    font-size: clamp(160px,22vw,300px);
    line-height: 1;
    font-weight: 900;
    pointer-events: none;
}

.contact-cta-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.contact-cta .eyebrow {
    color: #ff806d;
}

.contact-cta h2 {
    margin: 10px 0 12px;
    color: #fff;
    font-size: clamp(32px,4vw,48px);
    line-height: 1.15;
    font-weight: 800;
}

.contact-cta h2 span {
    color: #ff6b5c;
}

.contact-cta p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.62);
    line-height: 1.75;
}

.cta-call-btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 21px;
    border: 1px solid rgba(244,81,30,.35);
    border-radius: 12px;
    background: rgba(244,81,30,.10);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: .25s ease;
}

.cta-call-btn > i:first-child,
.cta-call-btn > i:last-child {
    color: #ff806d;
}

.cta-call-btn > i:last-child {
    transition: transform .25s ease;
}

.cta-call-btn:hover {
    color: #fff;
    background: #f4511e;
    border-color: #f4511e;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(244,81,30,.22);
}

.cta-call-btn:hover > i:first-child,
.cta-call-btn:hover > i:last-child {
    color: #fff;
}

.cta-call-btn:hover > i:last-child {
    transform: translate(3px,-3px);
}

/* =========================================================
   VALIDATION
========================================================= */

.contact-form input.is-invalid,
.contact-form select.is-invalid,
.contact-form textarea.is-invalid {
    border-color: #dc3545;
}

.contact-form .invalid-feedback {
    font-size: 12px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .contact-page-hero {
        min-height: auto;
        padding: 70px 0 55px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form-box {
        padding-left: 40px;
        padding-right: 40px;
    }

    .form-code-label {
        margin-left: -40px;
        margin-right: -40px;
    }

    .contact-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .contact-page-hero {
        min-height: auto;
        padding: 60px 0 45px;
    }

    .contact-page-hero h1 {
        margin-top: 12px;
        font-size: 38px;
        letter-spacing: -.8px;
    }

    .contact-page-hero p {
        font-size: 15px;
        line-height: 1.7;
    }

    .contact-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(17,18,22,.94),
                rgba(17,18,22,.84)
            );
    }

    .contact-breadcrumb {
        margin-top: 15px;
        padding: 6px 10px;
        min-height: 28px;
        font-size: 10px;
    }

    .contact-section {
        padding: 55px 0;
    }

    .contact-info,
    .contact-form-box {
        padding: 30px 24px;
        border-radius: 20px;
    }

    .form-code-label {
        margin-left: -24px;
        margin-right: -24px;
        margin-bottom: 28px;
        border-radius: 20px 20px 0 0;
    }

    .contact-form {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .form-group.full {
        grid-column: auto;
    }

    .contact-submit {
        grid-column: auto;
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .contact-submit button {
        width: 100%;
    }

    .address-card {
        align-items: flex-start;
        padding: 28px 24px;
        flex-direction: column;
        gap: 18px;
    }

    .address-card::after,
    .address-code {
        display: none;
    }

    .contact-address-section {
        padding-bottom: 60px;
    }

    .contact-cta {
        padding: 60px 0;
    }

    .cta-call-btn {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .contact-page-hero {
        padding: 52px 0 40px;
    }

    .contact-page-hero h1 {
        font-size: 33px;
    }

    .contact-info h2,
    .contact-form-box h2 {
        font-size: 29px;
    }

    .contact-info {
        padding: 27px 21px;
    }

    .contact-form-box {
        padding: 0 21px 27px;
    }

    .form-code-label {
        margin-left: -21px;
        margin-right: -21px;
    }

    .contact-item {
        gap: 12px;
    }

    .contact-item-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .contact-item-content a,
    .contact-item-content span {
        font-size: 13px;
    }

    .contact-social-icons a {
        width: 37px;
        height: 37px;
    }

    .contact-cta h2 {
        font-size: 31px;
    }

    .contact-breadcrumb {
        font-size: 10px;
        padding: 6px 10px;
    }
}
