*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, sans-serif;
}

body{
background:#f5f7fa;
}

/* ---------------- NAVBAR ---------------- */
/* HAMBURGER DEFAULT HIDE */
.hamburger {
    display: none; /* Desktop & Tablet वर hide */
    font-size: 26px;
    cursor: pointer;
    color: white;
}
.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 40px;
background:#2B3D5B;
color:white;
height:70px;
}

.nav-links{
display:flex;
list-style:none;
gap:25px;
margin-left:auto;
margin-right:20px;
}

.nav-links li a{
text-decoration:none;
color:white;
padding:8px 12px;
transition:0.3s;
}

.nav-links li a:hover{

background:rgba(255,255,255,0.1);
border-radius:5px;
}

/* ---------------- LOGO ---------------- */

.logo-container{
display:flex;
flex-direction:column;
align-items:flex-start;
padding:5px;
}

.logo-box{
position:relative;
display:flex;
align-items:flex-end;
padding-top:15px;
}

.house-shape{
position:absolute;
top:-5px;
left:-2px;
width:45px;
height:35px;
border-left:2px solid #ffffff;
border-top:2px solid #ffffff;
clip-path:polygon(0% 100%,0% 35%,50% 0%,100% 35%,100% 100%,85% 100%,85% 45%,50% 20%,15% 45%,15% 100%);
background-color:#ffffff;
}

.window{
position:absolute;
top:18px;
left:22px;
width:12px;
height:10px;
background:white;
}

.logo-text-wrapper{
font-size:26px;
font-weight:800;
margin-left:8px;
z-index:2;
}

.rent-text{
color:#ffffff;
}
.ify-text{
color:#a3cf62;
font-weight:400;
}

.bottom-line{
width:100%;
height:2px;
background:#ffffff;
margin-top:2px;
}

/* ---------------- CONTACT SECTION ---------------- */

.contact-section{
display:flex;
justify-content:center;
align-items:center;
padding:80px 10%;
}

.contact-card{
display:flex;
width:900px;
background:white;
border-radius:10px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

/* ---------------- FORM ---------------- */

.contact-form{
width:60%;
padding:50px;
}

.contact-form h2{
margin-bottom:25px;
}

.contact-form input,
.contact-form textarea{
width:100%;
padding:12px 15px;
margin-bottom:18px;
border:1px solid #ddd;
border-radius:6px;
font-size:14px;
outline:none;
transition:0.3s;
background:#f9f9f9;
}

.contact-form input:hover,
.contact-form textarea:hover{
border-color:#ff4d5a;
background:white;
}

.contact-form input:focus,
.contact-form textarea:focus{
border-color:#ff4d5a;
box-shadow:0 0 8px rgba(255,77,90,0.3);
background:white;
}

.contact-form textarea{
resize:none;
}

/* ---------------- BUTTON ---------------- */

button{
background:#27AE60;
color:white;
border:none;
padding:12px 25px;
cursor:pointer;
border-radius:30px;
font-size:15px;
transition:0.3s;
box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

button:hover{
transform:translateY(-3px);
box-shadow:0 8px 20px rgba(0,0,0,0.3);
}

/* ---------------- CONTACT INFO ---------------- */

.contact-info{
width:40%;
color:white;
padding:40px;
background:
linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),
 url("../resources/Images/key.jpg");
background-size:cover;
background-position:center;
}

.contact-info h2{
margin-bottom:15px;
}

.contact-info p{
margin-bottom:15px;
}

.info-item{
margin-bottom:15px;
}

/* ---------------- SOCIAL ICONS ---------------- */

.social-icons{
margin-top:20px;
}

.social-icons i{
margin-right:15px;
font-size:18px;
cursor:pointer;
}

/* ---------------- FOOTER ---------------- */

footer{
background:#2B3D5B;
color:white;
padding:60px 20px 0;
}

.footer-container{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:repeat(4,1fr);
gap:40px;
}

.footer-brand p{
font-size:14px;
color:#ddd;
line-height:1.6;
}

.footer-links ul{
list-style:none;
}

.footer-links ul li{
margin-bottom:10px;
}

.footer-links ul li a{
text-decoration:none;
color:#ddd;
font-size:14px;
}

.footer-links ul li a:hover{
color:#ff4d5a;
}

.footer-contact p{
font-size:14px;
color:#ddd;
}

.footer-bottom{
text-align:center;
margin-top:20px;
padding:15px;
background:#7C8594;
font-size:14px;
}

.footer-map iframe{
width:100%;
height:150px;
border-radius:10px;
}
/* ================= MEDIA QUERIES ================= */

/* -------- MOBILE -------- */
@media only screen and (max-width: 480px) {

    .hamburger{
        display:block;
    }

    .nav-links{
         position: absolute;
        top: 70px;
        right: 0;
        width: 200px;
        flex-direction: column;
        align-items: flex-start;
        background:#2B3D5B;
        padding:10px 0;
        display: none; /* hidden until click */
        box-shadow:-2px 0 8px rgba(0,0,0,0.2);
    }

    .nav-links.active{
        display:flex;
    }

    .nav-links li a{
        width:100%;
        padding:12px 20px;
        text-align:left;
    }

    .contact-card{
        flex-direction:column;
        width:100%;
    }

    .contact-form,
    .contact-info{
        width:100%;
        padding:25px;
    }

    /* FOOTER */
    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        gap: 15px;
    }

    .footer-map iframe {
        width: 100%;
        height: 180px;
    }

    .footer-bottom {
        font-size: 13px;
        padding: 15px 0;
    }
}

/* -------- TABLET -------- */
@media only screen and (min-width: 481px) and (max-width: 768px) {

    .nav-links{
        flex-direction:row;
        flex-wrap:wrap;
        gap:15px;
    }

    .contact-card{
        flex-direction:column;
        width:100%;
    }

    .contact-form,
    .contact-info{
        width:100%;
        padding:25px;
    }

    .footer-container{
        grid-template-columns:repeat(2,1fr);
        gap:30px;
    }

    .footer-map iframe{
        height:180px;
    }
}

/* -------- DESKTOP -------- */
@media only screen and (min-width: 769px) {

    .contact-card{
        flex-direction:row;
    }

    .contact-form{
        width:60%;
    }

    .contact-info{
        width:40%;
    }

    .footer-container{
        grid-template-columns:repeat(4,1fr);
    }
}