@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

.sub-head {
    text-align: center;
    width: 70%;
    margin: 0 auto;
    font-family: Verdana,Arial,Helvetica,sans-serif;
}

.heading {
    color: #13294A;
    font-size: 30px;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    padding-bottom: 16px;
    text-align: left;
}

.heading i {
    color: #2272FF;
    margin-right: 8px;
    font-size: 36px;
}

@media screen and (max-width:950px) {
    .sub-head {
        width: 85%;
    }
}

.mb {
    margin-bottom: 4%;
}
.mb1{
    margin-bottom: 24px;
}
.bold{
    font-weight: bold;
}
#th {
    height: 80px;
}
.mr1 {
    margin-right: 5px;
}

.user {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
}

.user a {
    text-decoration: none;
    color: #ffffff;
}

@media screen and (max-width:1100px) {
    #form{
        width: 50%;
    }
}
@media screen and (max-width:850px) {
    #form{
        left: 0;
        transform: translate(0, 50%);
    }
}
@media screen and (max-width:768px) {
    .topp3 {
        display: none;
    }
    #form{
        width: 75%;
    }
}

.logo {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-right: 20px;
}

.logo img {
    width: 135px;
}

.sidenav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 80%;
}

.mid-nav {
    width: 30vw;
}

.search-box {
    width: fit-content;
    height: fit-content;
    display: inline-block;
    position: relative;
}

.search-box1 {
    width: fit-content;
    height: fit-content;
    display: inline-block;
    position: relative;
    display: none;
}

.a1 {
    color: #13294a;
    text-decoration: none;
    margin: 0 25px;
}

.closebtn {
    display: none;
}
@media screen and (min-width:1250px) and (max-width:1410px){
    .a1 {
        margin: 0 20px;
    }
}
@media screen and (min-width:1250px) and (max-width:1340px){
    .a1 {
        margin: 0 15px;
    }
}
@media screen and (min-width:1180px) and (max-width:1270px){
    .a1 {
        margin: 0 9px;
    }
}
@media screen and (max-width:1180px) {
    .sidenav {
        height: 100%;
        width: 0;
        position: fixed;
        display: block;
        z-index: 1;
        top: 0;
        left: 0;
        background-color: #111;
        overflow-x: hidden;
        transition: 0.5s;
        padding-top: 60px;
    }

    .logo a div {
        display: none;
    }

    .sidenav a {
        padding: 8px;
        text-decoration: none;
        font-size: 25px;
        color: #818181;
        display: block;
        border-left: 2px solid transparent;
    }

    .a1:hover {
        color: #f1f1f1;
        border-left: 2px solid red;
    }

    .a1 {
        margin: 0;
        border-bottom: 1px solid #5b5b5b;
    }

    .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }

    .sidenav .closebtn:hover {
        color: white;
    }

    .search-box{
        display: none;
    }
    .open-search{
        display: flex;
        gap: 20px;
    }
    .search-box1{
        display: block;
    }
}
@media screen and (max-width:950px){
    .topp3{
        display: none;
    }
}
@media screen and (max-width:600px){
    .logo img{
        width: 120px;
    }
}
/* header end here */

.form-share{
    color: #333;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    display: flex;
    padding: 5% 6% 1% 6%;
    max-width: 1800px;
    background-color: #ffffff;
    width: 100%;
    margin: auto;
    gap: 60px;
}
.form-right{
    width: 50%;
    text-align: left;
}

.form-right ul {
    display: flex;
    flex-direction: column;
    margin-top: 12px;
    list-style-type: none;
}

.form-right ul li {
    margin-block: 12px;
    border-left: 8px solid #f1f1f1;
    background: #f7f7f7;
    padding: 16px;
    font-size: 14px;
}

.form-right ul li i {
    color: #fff;
    margin-right: 8px;
    background-color: #2272FF;
    border-radius: 100px;
    width: 30px;
    height: 30px;
    text-align: center;
    align-content: center;
}

.form-share > div:last-child {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    align-self: center;
}

.form-share > div:last-child i {
    transition: 0.4s ease;
    font-size: 160px;
    margin-inline: auto;
    text-align: center;
    background: #f7f7f7;
    padding: 10%;
    border-radius: 170px;
    color: #2272ff;
    transform: rotate(-30deg);
    border: 16px solid #ddd;
    outline: 26px solid #f1f1f1;
    position: relative;
    overflow: hidden;
}

.form-share > div:last-child i::after {
    content: '';
    background-image: url(/images/jtekt_logo.jpg);
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 0px;
    position: absolute;
    height: 0px;
    background-size: contain;
    background-repeat: no-repeat;
    transition: 0.6s ease;
    border-radius: 16px;
    opacity: 0.7;

}

.cont-form{
    padding: 3%;
    width: 56%;
    border-radius: 25px;
}
.place::placeholder{
    color: rgb(255, 255, 255);
    font-family: Verdana,Arial,Helvetica,sans-serif;
}
.cont-form{
    background-image: repeating-linear-gradient(to top, #000000, #252525);
    color: #ffffff;
}
.place1{
    background-color: #252525; 
    color: #ffffff;
}
.place1{
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 8px;
    resize: vertical;
}

input[type=submit] {
    background-color: transparent;
    color: white;
    padding: 12px 29px;
    border: 1px solid white;
    font-size: 17px;
    border-radius: 25px;
    cursor: pointer;
    font-family: Verdana,Arial,Helvetica,sans-serif;
}

input[type=submit]:hover {
    background-color: #ffffff;
    color: black;
    border: 1px solid rgb(89, 89, 89);
}

@media screen and (max-width: 1180px) {
    div.location-right p:last-child {
        width: auto;
    }
}

@media screen and (max-width:900px){
    .form-right, .form-share > div:last-child, .location-right, .location-left {
        width: 100% !important;
    }
    .form-share, .location {
        flex-direction: column;
        width: 90% !important;
        gap: 48px !important;
    }
    .form-right ul, .location-right > *:not(h2) {
        margin-left: 0 !important;
    }
    .form-right ul li {
        margin-inline: 0;
        margin-block: 8px;
    }
    p.companyName {
        font-size: 18px;
    }
    div.location-right p:last-child {
        width: 100%;
    }
    .location-right span {
        font-size: 14px;
    }
    .cont-form{
        width: 100%;
    }
    main {
        overflow: hidden;
    }
}
/* form ends here */

.companyName {
    font-size: 20px;
    margin-bottom: 4px;
}
.location{
    color: #333;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    display: flex;
    padding: 5% 6% 6% 6%;
    max-width: 1800px;
    background-color: #ffffff;
    width: 100%;
    margin: auto;
    gap: 60px;
}
.location-right{
    width: 50%;
}

.location-right span {
    color: #505050;
    display: inline-block;
}

.location-right p i {
    color: #505050;
    margin-right: 4px;
    background-color: #f1f1f1;
    width: 30px;
    height: 30px;
    text-align: center;
    align-content: center;
    border-radius: 100px;
}

.location-right p:last-child a {
    color: #ffffff;
    text-decoration: underline solid #ffffff40 1px;
    text-underline-offset: 8px;
    padding-top: 16px;
    display: inline-block;
}

.location-right p:last-child i {
    color: #fff;
    background: none;
    font-size: 20px;
    margin-right: 0;
}

.location-right p:last-child .fa-question {
    position: absolute;
    top: -28px;
    left: 0;
    font-size: 40px;
    width: 60px;
    height: 60px;
    border: 4px solid #eee;
    background-color: white;
    color: #2272FF;
    transition: 0.4s ease;
}

.location-right p:last-child {
    color: #ffffffb3;
    margin-right: 4px;
    background-color: #2272FF;
    padding: 32px;
    text-align: center;
    align-content: center;
    border-radius: clamp(44px, 2vw, 100px);
    margin-top: 40px;
    border: 4px solid #ffffff24;
    outline: 8px solid #f1f1f1;
    position: relative;
    width: 48%;
    font-size: 14px;
}

.companyAddress {
    font-size: 14px;
    background-color: #f7f7f7;
    padding: 20px;
    margin-block: 20px;
    color: #505050;
    border-left: 4px solid #f1f1f1;
    width: fit-content;
}

.location-left {
    background: #f7f7f7;
    padding: 3%;
    align-content: center;
    width: 50%;
}

.mapouter {
    outline: 1px solid #ddd;
}

iframe, .gmap_canvas, .mapouter {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
}

@media screen and (max-width: 820px) {
    .heading {
        font-size: 22px;
    }
}

@media screen and (min-width:1500px) and (max-width:2000px){
    .location-right{
        width: 50%;

    }
    .location-left{
        width: 50%;
    }
}

@media screen and (min-width:2000px){
    .location-right{
        width: 40%;

    }
    .location-left{
        width: 56%;
    }
}

@media screen and (max-width:750px){
    .location-left{
        margin-top: 15px;
    }
}
@media screen and (max-width:500px){
    .cont-form{        
        padding: 5%;
    }
    .form-share, .location {
        gap: 20px !important;
    }
    div.form-share {
        margin-bottom: 12px;
        padding: 6% 6% 1% 6%;
    }
    .form-share > div:last-child {
        scale: 0.8;
    }
    .form-right ul li:last-child {
        margin-bottom: 20px;
    }
}

.i {
    font-size: 20px;
    color: #ffffff;
    padding: 0 10px;
}

.copy p {
    color: #ffffff;
    font-family: Verdana,Arial,Helvetica,sans-serif;
}

@media screen and (max-width:950px) {
    .share {
        flex-direction: column;
        padding: 45px 10px 30px 10px;
    }
    .second{
        padding: 0 10px;
    }
    .third{
        padding: 0 10px;
    }
    .fourth{
        padding: 0 10px;
    }
}
@media screen and (max-width:500px) {
    .icon{
        margin-bottom: 5px;
    }
    .i {
        padding: 0 15px 0 0;
    }    
}

@media (hover: hover) {
    .i:hover {
        color: #1476f2;
        font-size: 20px;
        padding: 0 10px;
    }

    .a1:hover {
        color: #2272FF;
    }

    .form-share:hover > div:last-child i {
        font-size: 120px;
        margin-inline: auto;
        text-align: center;
        background: #f7f7f7;
        padding: 20%;
        padding-top: 12%;
        border-radius: 120px;
        color: #2272ff;
        transform: rotate(0deg);
        border: 6px solid #ddd;
        outline: 8px solid #f1f1f1;
    }

    .form-share:hover > div:last-child i::after {
        content: '';
        background-image: url(/images/jtekt_logo.jpg);
        bottom: 16%;
        left: 50%;
        transform: translateX(-50%);
        width: 90px;
        position: absolute;
        height: 50px;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .location-right p:last-child a:hover {
        text-decoration: underline solid #ffffff80 1px;
    }

    .location-right p:last-child:hover .fa-question {
        scale: 1.1;
    }
}