﻿/*==========================
        CONTACT HERO
===========================*/

.contact-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 8%;
    background: radial-gradient(circle at top, rgba(62,107,255,.18), transparent 60%), #090909;
    position: relative;
    overflow: hidden;
}

    .contact-hero::before {
        content: "";
        position: absolute;
        width: 700px;
        height: 700px;
        background: var(--theme-gradient);
        filter: blur(180px);
        opacity: .18;
        border-radius: 50%;
        top: -250px;
        left: 50%;
        transform: translateX(-50%);
    }

.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 2;
}

    .hero-content span {
        color: #4FA8E8;
        letter-spacing: 5px;
        font-weight: 600;
    }

    .hero-content h1 {
        font-size: 72px;
        color: #fff;
        margin: 25px 0;
        line-height: 1.1;
    }

    .hero-content p {
        color: var(--paper-dim);
        font-size: 18px;
        line-height: 1.8;
        margin-bottom: 45px;
    }

.hero-btn {
    display: inline-block;
    padding: 18px 42px;
    border-radius: 50px;
    background: var(--theme-gradient);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: .35s;
}

    .hero-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 40px rgba(62,107,255,.35);
    }

/*==========================
        CONTACT
===========================*/

.contact-section {
    background: var(--ink);
    padding: 110px 8%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 60px;
}

.contact-left h2 {
    color: #fff;
    font-size: 46px;
}

.contact-left p {
    color: var(--paper-dim);
    line-height: 1.8;
    margin: 20px 0 40px;
}

/*==========================
        INFO CARD
===========================*/

.info-card {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    background: var(--ink-2);
    border: 1px solid #ffffff;
    border-radius: 18px;
    padding: 24px;
    transition: .35s;
}

    .info-card:hover {
        transform: translateY(-6px);
        border-color: #3E6BFF;
        box-shadow: 0 15px 35px rgba(62,107,255,.15);
    }

.icon {
    width: 60px;
    height: 60px;
    background: var(--theme-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.info-card h4 {
    color: #fff;
    margin-bottom: 8px;
}

.info-card p {
    margin: 0;
    color: var(--paper-dim);
}

/*==========================
        FORM
===========================*/

.contact-right {
    background: var(--ink-2);
    border: 1px solid #ffffff;
    border-radius: 22px;
    padding: 45px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
}

.contact-right input,
.contact-right textarea {
    width: 100%;
    margin-bottom: 20px;
    background: #111217;
    border: 1px solid #ffffff;
    border-radius: 10px;
    padding: 16px 18px;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: .3s;
}

    .contact-right input:focus,
    .contact-right textarea:focus {
        border-color: #4FA8E8;
        box-shadow: 0 0 20px rgba(62,107,255,.25);
    }

.contact-right textarea {
    resize: vertical;
}

.contact-right button {
    border: 0;
    padding: 17px 45px;
    background: var(--theme-gradient);
    color: #fff;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    transition: .35s;
}

    .contact-right button:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px rgba(62,107,255,.35);
    }

/*==========================
      SECTION TITLE
===========================*/

.section-heading {
    text-align: center;
    margin-bottom: 70px;
}

    .section-heading span {
        color: #4FA8E8;
        letter-spacing: 4px;
    }

    .section-heading h2 {
        color: #fff;
        font-size: 50px;
        margin-top: 15px;
    }

/*==========================
       WHY RPM
===========================*/

.why-rpm {
    background: #090909;
    padding: 110px 8%;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}

.feature-card {
    background: var(--ink-2);
    border: 1px solid rgba(255,255,255,.08);
    padding: 35px;
    border-radius: 18px;
    transition: .35s;
}

    .feature-card:hover {
        transform: translateY(-10px);
        border-color: #3E6BFF;
    }

    .feature-card h3 {
        color: #fff;
        margin-bottom: 15px;
    }

    .feature-card p {
        color: var(--paper-dim);
        line-height: 1.8;
    }

/*==========================
        MAP
===========================*/

.location-section {
    background: var(--ink);
    padding: 110px 8%;
}

.map-wrapper {
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.08);
}

    .map-wrapper img,
    .map-wrapper iframe {
        width: 100%;
        display: block;
    }

/*==========================
       CAREERS
===========================*/

.career-banner {
    margin: 100px 8%;
    background: var(--theme-gradient);
    padding: 60px;
    border-radius: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .career-banner h2 {
        color: #fff;
        font-size: 42px;
    }

    .career-banner p {
        color: rgba(255,255,255,.9);
        margin-top: 12px;
    }

    .career-banner a {
        background: #fff;
        color: #111;
        padding: 16px 35px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        transition: .3s;
    }

        .career-banner a:hover {
            color: blue!important;
            transform: translateY(-4px);
        }

/*==========================
      RESPONSIVE
===========================*/

@media(max-width:1100px) {

    .contact-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .career-banner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

@media(max-width:768px) {

    .hero-content h1 {
        font-size: 48px;
    }

    .section-heading h2 {
        font-size: 38px;
    }

    .contact-left h2 {
        font-size: 36px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-right {
        padding: 30px;
    }
}

/*scroll*/
/*============================
      SCROLL ANIMATION
=============================*/

.hidden {
    opacity: 0;
    transform: translateY(60px);
    transition: all .8s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/*============================
        RIPPLE
=============================*/

.hero-btn,
button,
.career-banner a {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.6);
    transform: translate(-50%,-50%) scale(0);
    animation: ripple .6s linear;
}

@keyframes ripple {

    to {
        transform: translate(-50%,-50%) scale(30);
        opacity: 0;
    }
}
