.layer6 {
    background: linear-gradient(135deg, 
        #1a237e 0%, 
        #3f51b5 25%, 
        #5c6bc0 50%, 
        #3f51b5 75%, 
        #1a237e 100%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
}

.layer6::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, 
        rgba(255, 193, 7, 0.1) 0%, 
        rgba(255, 152, 0, 0.05) 50%, 
        rgba(255, 87, 34, 0.1) 100%);
    pointer-events: none;
}

.layer6 .contact_us {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100vh; /* occupy viewport and enable internal scroll */
    overflow-y: auto;
    filter: invert(1);
    color: white;
}

.info_container {
    position: relative;
}

.info {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 25px 20px;
    transform-style: preserve-3d;
    perspective: 1000px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    margin: 15px 0;
    transition: all 0.3s ease;
}

.info:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 
        0 20px 40px rgba(255, 193, 7, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.info::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(5px);
}

.info i {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    padding: 0;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    transform: translateZ(10px);
    line-height: 1;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: #ffffff;
    box-shadow: 
        0 8px 16px rgba(255, 152, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 15px;
}

.info:hover i {
    transform: translateZ(40px) scale(1.1);
    background: linear-gradient(135deg, #ffb74d 0%, #ff9800 100%);
    box-shadow: 
        0 20px 40px rgba(255, 152, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: 0.4s 0.1s;
}

.info a {
    transform: translateZ(0px);
    color: #1a237e;
    text-decoration: none;
    transition: all 0.4s ease;
    font-weight: 700;
    font-size: 16px;
}

.info:hover a {
    transform: translateZ(75px);
    color: #0d47a1;
    text-shadow: 0 0 20px rgba(13, 71, 161, 0.5);
    transition: 0.4s 0.2s;
}

.info .iname {
    text-align: center;
    font-size: 18px;
    font-style: italic;
    transition: all 0.4s ease;
    color: #3f51b5;
    font-weight: 600;
    margin-bottom: 8px;
}

.info:hover .iname {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    opacity: 0.2;
    color: #1a237e;
    transform: translateZ(-10px);
}

form {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

form h1 {
    color: #1a237e;
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 152, 0, 0.3);
    font-weight: 700;
}

form .inp_field {
    position: relative;
    width: 400px;
    height: 70px;
    border-radius: 35px;
    transform-style: preserve-3d;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    margin: 15px 0;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

form .inp_field:focus-within {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 8px 32px rgba(255, 152, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 152, 0, 0.6);
}

form .inp_field input {
    width: 320px;
    font-size: 18px;
    font-weight: 500;
    border: none;
    background: none;
    outline: none;
    overflow: visible;
    color: #1a237e;
    padding: 0 15px;
}

.inp_field input::placeholder {
    font-weight: 400;
    color: #3f51b5;
    opacity: 0.8;
}

.inp_field i {
    color: #ff9800;
    font-size: 20px;
    margin-left: 15px;
}

.message {
    width: 400px;
    min-height: 120px;
    outline: none;
    border: none;
    border-radius: 25px;
    padding: 20px;
    font-size: 16px;
    font-family: "Montserrat";
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    color: #1a237e;
    font-weight: 400;
    resize: vertical;
    transition: all 0.3s ease;
}

.message:focus {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 8px 32px rgba(255, 152, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 152, 0, 0.6);
}

.message::placeholder {
    color: #3f51b5;
    opacity: 0.8;
}

.submit {
    position: relative;
    font-size: 18px;
    font-weight: 700;
    padding: 15px 40px;
    margin: 30px 0;
    outline: none;
    border: none;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    text-decoration: none;
    color: #ffffff;
    border-radius: 50px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 8px 25px rgba(255, 152, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #ffb74d 0%, #ff9800 100%);
    box-shadow: 
        0 15px 35px rgba(255, 152, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
}

.submit:active {
    transform: translateY(-1px);
    box-shadow: 
        0 10px 20px rgba(255, 152, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.submit::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #f57c00 0%, #ff9800 100%);
    z-index: -1;
    transition: all 0.3s ease;
    border-radius: 50px;
}

.submit:hover::before {
    width: 100%;
}

.submit::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.5s ease;
}

.submit:hover::after {
    left: 100%;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* match container height */
    filter: invert(1);
    z-index: -1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .layer6 .contact_us {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        height: 100vh; /* keep internal scroll on mobile */
        min-height: 100vh;
        overflow-y: auto;
    }
    
    .info_container {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .info {
        width: 90%;
        max-width: 300px;
        margin: 10px auto;
    }
    
    form {
        width: 90%;
        max-width: 400px;
    }
    
    form .inp_field {
        width: 100%;
    }
}

@media (max-width: 632px) {
    .layer6 .contact_us {
        justify-content: center;
        flex-direction: column;
    }
}