.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.contact p span a {
    display: block;
    text-decoration: none !important;
}

.mobile-mockup {
    position: absolute;
    transform: translateX(-87%);
    width: 18vw;
    height: 36vw;
    border: 0.45vw solid #000;
    outline: 0.15vw solid rgb(218, 218, 218);
    border-radius: 2vw;
    overflow: hidden;
    box-shadow:
        -1vw 1vw 2vw hsla(0, 0%, 0%, 0.4),
        0 0 0 0.1vw hsl(0, 0%, 67%) inset;
}

.mobile-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 7vw;
    height: 1.2vw;
    background-color: #000;
    border-bottom-left-radius: 0.8vw;
    border-bottom-right-radius: 0.8vw;
    z-index: 10000;
}

.mobile-screen {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-image: url('../../asset/images/contact/mobile-background.webp');
    background-size: cover;
    background-position: center;
    /* Hide scrollbar for cleaner look */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.mobile-screen::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

#contactform {
    position: absolute;
    z-index: 4;
    height: 100%;
}

.formhead {
    color: #FFF;
    background: rgba(0, 0, 0, 0.2);
    margin-top: 4vh;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2vw;
    padding: 0.5vw;
    box-shadow: 0 0.05vw 0.05vw rgba(255, 255, 255, 0.1);
    text-align: center;
}

.form-style {
    margin-left: auto;
    margin-right: auto;
    padding: 0.8vw;
    border: 0.05vw solid rgba(0, 0, 0, .2);
    background-clip: padding-box;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0.7vw 0.15vw rgba(0, 0, 0, .5);
    overflow: hidden;
    height: 100%;
}

#contact_body {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: inherit;
}

.form-style input[type="text"],
.form-style input[type="email"],
.form-style select,
.form-style textarea {
    width: 88%;
    padding: 0.8vw 0;
    padding-left: 2vw;
    margin: 0.4vw 0;
    border: none;
    border-radius: 0.25vw;
    background-color: rgba(255, 255, 255, 0.8);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8vw;
}

.form-style select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 0.8em center/1.2em;
    padding-right: 2.5em;
    border: 1px solid #ccc;
    background-color: rgba(255,255,255,0.8);
    color: #333;
    min-height: 2.5em;
    border-radius: 0.25vw;
}
/* iOS select field focus fix */
@media (max-width: 480px) {
    .form-style select:focus {
        outline: 2px solid #c10d4d;
        background-color: #fff;
        color: #222;
    }
}
/* Smaller placeholder text for mobile */
@media (max-width: 480px) {
    .form-style input::placeholder,
    .form-style textarea::placeholder {
        font-size: 13px !important;
        color: #888;
        opacity: 1;
    }
}

.form-style input[type="submit"] {
    width: 100%;
    padding: 0.5vw 0;
    margin: 0.6vw 0;
    border: none;
    border-radius: 0.25vw;
    background-color: #ff3838;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8vw;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


.input-icon-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 0.4vw;
}

.input-icon {
    position: absolute;
    left: 0.5vw;
    top: 50%;
    transform: translateY(-50%);
    width: 1.1vw;
    height: 1.1vw;
    pointer-events: none;
    opacity: 0.7;
}

#contact_results {
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    align-content: center;
    font-size: 1vw;
}

#social-icons {
    position: absolute;
    left: 70%;
    top: 8%;
    z-index: 10000;
}

.sb-container {
    position: relative;
    width: 140px;
    height: 240px;
    perspective: 1000px;
}

.sb-container>div {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform-origin: bottom center;
    transition: transform 0.7s ease, box-shadow 0.3s ease;
    text-align: center;
    filter: drop-shadow(-1.4vw 0.4vw 0.3vw rgba(0, 0, 0, 0.2));
}

.sb-container>div:nth-child(1) {
    background: #3b5998;
}

/* Facebook */
.sb-container>div:nth-child(2) {
    background: #0077b5;
}

/* LinkedIn */
.sb-container>div:nth-child(3) {
    background: #1da1f2;
}

/* Twitter */
.sb-container>div:nth-child(4) {
    background: #e1306c;
}

/* Instagram */
.sb-container>div:nth-child(5) {
    background: #34495e;
}

/* Title card */

.sb-container>div h4 {
    margin: 10px 0 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.sb-container>div.active {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}


.card-container {
    position: absolute;
    bottom: 2vw;
    right: 2vw;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    border: 0.1vw solid #ddd;
    padding: 4vw 2vw;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
    border-radius: 10px;
    scale: 0.7;
    filter: drop-shadow(-0.5vw 0.5vw 0.5vw rgba(0, 0, 0, 0.5));
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 20px;
    border-right: 2px solid red;
}

.logo-section img {
    max-width: 150px;
    height: auto;
}

.info-section {
    flex: 1;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.name {
    font-size: 1.8rem;
    color: #B20058;
}

.name span {
    color: #151EDE;
}

.title {
    font-family: 'Brush Script MT', cursive;
    color: #B20058;
    font-size: 1.2rem;
    margin-top: 4px;
}

.contact {
    margin-top: 20px;
}

.contact p {
    margin: 5px 0;
    font-size: 1rem;
}

.contact strong {
    color: #B20058;
}

.contact span {
    color: #151EDE;
}

/* === RESPONSIVE DESIGN === */

/* Laptop/Desktop (1024px - 1440px) */
@media (min-width: 1024px) and (max-width: 1440px) {
    .mobile-mockup {
        width: 18vw;
        height: 36vw;
        transform: translateX(-80%);
    }

    .mobile-notch {
        width: 8vw;
        height: 1.4vw;
    }

    .formhead {
        font-size: 1.4vw;
        margin-top: 3vh;
    }

    .form-style input[type="text"],
    .form-style input[type="email"],
    .form-style select,
    .form-style textarea {
        font-size: 1vw;
        padding: 1vw 0;
        padding-left: 2.5vw;
    }

    .form-style input[type="submit"] {
        font-size: 1vw;
        padding: 0.7vw 0;
    }

    .input-icon {
        width: 1.3vw;
        height: 1.3vw;
        left: 0.7vw;
    }

    #contact_results {
        font-size: 1.2vw;
    }

    .sb-container {
        width: 9vw;
        height: 22vh;
    }

    .sb-container div {
        width: 9.5vw;
        height: 16vw;
    }

    .sb-container div h4 {
        font-size: 1.2vw;
    }

    .sb-container div:last-child {
        background-size: 6vw 6vw;
    }
}


/* Tablet Portrait (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .mobile-mockup {
        width: 28vw;
        height: 52vw;
        transform: translateX(-70%);
    }

    .mobile-notch {
        width: 10vw;
        height: 1.8vw;
    }

    .formhead {
        font-size: 2vw;
        margin-top: 3vh;
        padding: 1vw;
    }

    .form-style {
        padding: 1.2vw;
    }

    .form-style input[type="text"],
    .form-style input[type="email"],
    .form-style select,
    .form-style textarea {
        font-size: 1.5vw;
        padding: 1.5vw 0;
        padding-left: 3vw;
        margin: 0.6vw 0;
    }

    .form-style input[type="submit"] {
        font-size: 1.5vw;
        padding: 1vw 0;
        margin: 1vw 0;
    }

    .input-icon {
        width: 2vw;
        height: 2vw;
        left: 1vw;
    }

    .input-icon-wrapper {
        margin-bottom: 0.8vw;
    }

    #contact_results {
        font-size: 1.8vw;
    }

    #social-icons {
        left: 55%;
        top: 10%;
    }

    .sb-container {
        width: 12vw;
        height: 18vh;
        margin: 2vw auto 0 auto;
    }

    .sb-container div {
        width: 13vw;
        height: 20vw;
    }

    .sb-container div h4 {
        font-size: 1.8vw;
        margin: 0.5vw;
        padding: 0.5vw;
    }

    .sb-container div:last-child {
        background-size: 8vw 8vw;
    }

    .sb-container div:last-child:after {
        bottom: 1vw;
        left: 1vw;
        width: 1.5vw;
        height: 1.5vw;
    }
}

/* Tablet Landscape (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .mobile-mockup {
        width: 20vw;
        height: 38vw;
        transform: translateX(-85%);
    }

    .card-container {
        bottom: 0vw;
        right: -10vw;
        scale: 0.5;
    }

    .mobile-notch {
        width: 7vw;
        height: 1.3vw;
    }

    .formhead {
        font-size: 1.8vw;
        margin-top: 2vh;
        padding: 0.8vw;
    }

    .form-style input[type="text"],
    .form-style input[type="email"],
    .form-style select,
    .form-style textarea {
        font-size: 1.2vw;
        padding: 1.2vw 0;
        padding-left: 2.8vw;
    }

    .form-style input[type="submit"] {
        font-size: 1.2vw;
        padding: 0.8vw 0;
    }


    .input-icon {
        width: 1.6vw;
        height: 1.6vw;
        left: 0.8vw;
    }

    #contact_results {
        font-size: 1.5vw;
    }

    #social-icons {
        left: 70%;
        top: 20%;
        scale: 1;
    }

    .sb-container {
        width: 10vw;
        height: 15vh;
    }

    .sb-container div {
        width: 11vw;
        height: 18vw;
    }

    .sb-container div h4 {
        font-size: 1.5vw;
    }

    .sb-container div:last-child {
        background-size: 7vw 7vw;
    }
}

/* Mobile Portrait (480px - 768px) */
@media (min-width: 480px) and (max-width: 768px) and (orientation: portrait) {
    .mobile-mockup {
        width: 40vw;
        height: 75vw;
        transform: translateX(-55%);
    }

    .mobile-notch {
        width: 14vw;
        height: 2.5vw;
        border-bottom-left-radius: 1.2vw;
        border-bottom-right-radius: 1.2vw;
    }

    .formhead {
        font-size: 3vw;
        margin-top: 2vh;
        padding: 1.5vw;
    }

    .form-style {
        padding: 2vw;
    }

    .form-style input[type="text"],
    .form-style input[type="email"],
    .form-style select,
    .form-style textarea {
        font-size: 2.5vw;
        padding: 2.5vw 0;
        padding-left: 5vw;
        margin: 1vw 0;
    }

    .form-style input[type="submit"] {
        font-size: 2.5vw;
        padding: 1.5vw 0;
        margin: 1.5vw 0;
    }

    .input-icon {
        width: 3vw;
        height: 3vw;
        left: 1.5vw;
    }

    .input-icon-wrapper {
        margin-bottom: 1.5vw;
    }

    #contact_results {
        font-size: 2.8vw;
    }

}

/* Mobile Landscape (480px - 768px) */
@media only screen and (max-width: 767px)
/* mobile width */
and (min-height: 400px) and (max-height: 700px) and (orientation: landscape) {
    .mobile-mockup {
        width: 25vw;
        height: 48vw;
        transform: translateX(-75%);
        scale: 0.8;
    }

    .mobile-notch {
        width: 9vw;
        height: 1.8vw;
    }

    .formhead {
        font-size: 2.2vw;
        margin-top: 1.5vh;
        padding: 1vw;
    }

    .form-style input[type="text"],
    .form-style input[type="email"],
    .form-style select,
    .form-style textarea {
        font-size: 1.6vw;
        padding: 1.2vw 0;
        padding-left: 4vw;
    }

    .form-style input[type="submit"] {
        font-size: 1.8vw;
        padding: 1.2vw 0;
    }

    .input-icon {
        width: 2.2vw;
        height: 2.2vw;
        left: 1.2vw;
    }

    #contact_results {
        font-size: 2vw;
    }


    #social-icons {
        left: 70%;
        top: 8%;
        scale: 1;
    }
}

/* Small Mobile Portrait (320px - 480px) */
@media (max-width: 480px) and (orientation: portrait) {
    .mobile-mockup {
        width: 50vw;
        height: 84vw;
        transform: translateX(-45%);
        border: 1.2vw solid #000;
        outline: 0.5vw solid rgb(218, 218, 218);
        border-radius: 5vw;
        left: 50%;
        top: 5%;
        scale: 1.1;
    }

    #social-icons {
        display: none;
    }

    .mobile-notch {
        width: 18vw;
        height: 3vw;
        border-bottom-left-radius: 1.5vw;
        border-bottom-right-radius: 1.5vw;
    }

    .formhead {
        font-size: 4vw;
        margin-top: 1vh;
        padding: 2vw;
    }

    .form-style {
        padding: 2.5vw;
    }

    .form-style input[type="text"],
    .form-style input[type="email"],
    .form-style select,
    .form-style textarea {
        font-size: 12px;
        padding: 2vw 0;
        padding-left: 7vw;
        margin: 1vw 0;
    }

    .form-style input[type="submit"] {
        font-size: 2.5vw;
        padding: 1vw 0;
        margin: 1vw 0;
        margin-top: -10px;
    }

    .input-icon {
        width: 4vw;
        height: 4vw;
        left: 2vw;
    }

    .input-icon-wrapper {
        margin-bottom: 2vw;
    }

    #contact_results {
        font-size: 3.5vw;
    }

    .main {
        text-align: center;
        padding-left: 6vw;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .main h1 {
        font-size: 5vw;
        width: 32vw;
        margin-top: 2vh;
        padding: 1.5vw;
    }

    .card-container {
        bottom: 6vw;
        right: -16vw;
        padding: 4vw 10vw;
        scale: 0.6;
    }
}
/* reCAPTCHA Styling */
.g-recaptcha {
    display: flex;
    justify-content: center;
    transform: scale(0.8);
    transform-origin: center;
}

/* Responsive scaling for mobile */
@media (max-width: 490px) {
    .g-recaptcha {
        transform: scale(0.58);
        transform-origin: center;
        margin: -20px -6px 0 0;
    }
}

@media (max-width: 320px) {
    .g-recaptcha {
        transform: scale(0.6);
        transform-origin: center;
    }
}

/* iOS Safari zoom fix on small landscape */
@media only screen and (max-width: 767px)
and (min-height: 400px) and (max-height: 700px) and (orientation: landscape) {
    .form-style input[type="text"],
    .form-style input[type="email"],
    .form-style select,
    .form-style textarea {
        font-size: 16px;
    }
}