/* GLOBAL */

body{
font-family:'Poppins',sans-serif;
margin:0;
background:#f4f7fb;
color:#333;
}

.container{
max-width:1200px;
margin:auto;
padding:30px 20px;
}

/* NAVBAR */

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 30px;
background:linear-gradient(135deg,#2563eb,#1e40af);
color:white;
}

.logo a{
color:white;
font-size:22px;
font-weight:600;
text-decoration:none;
}

.menu a{
color:white;
margin-left:20px;
text-decoration:none;
font-weight:500;
}

.menu a:hover{
color:#ffd43b;
}

/* BUTTON */

.btn{
background:#2563eb;
color:white;
padding:10px 16px;
border-radius:6px;
border:none;
cursor:pointer;
font-size:14px;
}

.btn:hover{
background:#1e40af;
}

/* TABLE */

.table{
width:100%;
border-collapse:collapse;
background:white;
border-radius:8px;
overflow:hidden;
box-shadow:0 6px 20px rgba(0,0,0,0.08);
}

.table th{
background:#2563eb;
color:white;
padding:12px;
text-align:left;
}

.table td{
padding:12px;
border-bottom:1px solid #eee;
}

.table tr:hover{
background:#f8faff;
}

/* FORM */

form{
background:white;
padding:25px;
border-radius:10px;
box-shadow:0 6px 20px rgba(0,0,0,0.08);
}

form input,
form textarea,
form select{
width:100%;
padding:10px;
border:1px solid #ddd;
border-radius:6px;
margin-top:10px;
}
/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

body{
font-family:'Poppins',sans-serif;
background:#f4f7fb;
margin:0;
color:#333;
}

/* container */

.container{
max-width:1200px;
margin:auto;
padding:20px;
}

/* headings */

h1,h2,h3{
font-weight:600;
margin-bottom:20px;
}

/* buttons */

.btn{
display:inline-block;
padding:10px 18px;
border-radius:6px;
background:#2d7df6;
color:white;
text-decoration:none;
border:none;
cursor:pointer;
transition:.3s;
}

.btn:hover{
background:#1c63d6;
}

.btn.danger{
background:#e74c3c;
}

.btn.danger:hover{
background:#c0392b;
}

.btn.edit{
background:#f39c12;
}

.btn.room{
background:#27ae60;
}

/* tables */

.table{
width:100%;
border-collapse:collapse;
background:white;
border-radius:8px;
overflow:hidden;
box-shadow:0 2px 8px rgba(0,0,0,.05);
}

.table th{
background:#2d7df6;
color:white;
padding:12px;
text-align:left;
}

.table td{
padding:12px;
border-bottom:1px solid #eee;
}

.table tr:hover{
background:#f8f9ff;
}

/* cards */

.card-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
}

.card{
background:white;
padding:25px;
border-radius:10px;
box-shadow:0 4px 15px rgba(0,0,0,.05);
text-align:center;
}

.card h3{
font-size:28px;
color:#2d7df6;
}

/* PG cards */

.pg-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:25px;
margin-top:20px;
}

.pg-card{
background:white;
border-radius:10px;
box-shadow:0 5px 20px rgba(0,0,0,.06);
overflow:hidden;
transition:.3s;
}

.pg-card:hover{
transform:translateY(-4px);
}

.pg-card img{
width:100%;
height:180px;
object-fit:cover;
}

.pg-card h3{
padding:10px 15px;
}

.pg-card p{
padding:0 15px 10px;
color:#666;
}

.pg-card .rent{
color:#2d7df6;
font-weight:600;
}

.pg-card .actions{
display:flex;
gap:10px;
padding:10px 15px 15px;
}

/* forms */

.pg-form input,
.pg-form textarea,
.pg-form select,
form input,
form textarea,
form select{

width:100%;
padding:12px;
margin-bottom:12px;
border-radius:6px;
border:1px solid #ddd;
font-size:14px;

}

.pg-form textarea{
height:100px;
}

.features{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:10px;
margin-bottom:15px;
}

/* navbar */

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 25px;
background:#2d7df6;
color:white;
}

.navbar a{
color:white;
margin-left:15px;
text-decoration:none;
}

.logo a{
font-size:22px;
font-weight:600;
}
/* HERO */

.hero{
position:relative;
height:85vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
color:white;
}

.hero-bg{
position:absolute;
width:100%;
height:100%;
background:
linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,.6)),
url("https://images.unsplash.com/photo-1560448204-e02f11c3d0e2");
background-size:cover;
background-position:center;
z-index:-1;
}

.hero h1{
font-size:48px;
margin-bottom:10px;
}

.hero p{
font-size:18px;
margin-bottom:30px;
}

/* SEARCH BOX */

.search-box{
background:white;
padding:20px;
border-radius:12px;
box-shadow:0 10px 30px rgba(0,0,0,.2);
}

.search-grid{
display:grid;
grid-template-columns:2fr 1fr 1fr 1fr;
gap:10px;
}

.search-grid input,
.search-grid select{
padding:12px;
border:1px solid #ddd;
border-radius:8px;
}

.search-btn{
background:#2d7df6;
color:white;
border:none;
padding:12px;
border-radius:8px;
cursor:pointer;
font-weight:600;
}

/* SECTION */

.section-title{
text-align:center;
margin-bottom:40px;
font-size:32px;
}

/* FEATURES */

/* FEATURES SECTION */

.features{

padding:80px 0;
background:#f4f7fb;

}

.section-title{

text-align:center;
font-size:36px;
font-weight:600;
margin-bottom:50px;

}

/* GRID */

.feature-grid{

display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
max-width:1100px;
margin:auto;

}

/* CARD */

.feature-card{

background:white;
padding:30px;
border-radius:14px;
text-align:center;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
transition:all .3s;

}

.feature-card:hover{

transform:translateY(-6px);

}

/* ICON */

.feature-card .icon{

font-size:32px;
margin-bottom:15px;
color:#2d7df6;

}

.feature-card h3{

margin-bottom:10px;

}

.feature-card p{

color:#666;
font-size:14px;

}

/* CITIES */

.cities{
background:#f5f7fb;
padding:60px 0;
}

.city-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
}

.city-card{
background:white;
padding:40px;
text-align:center;
border-radius:12px;
font-weight:600;
box-shadow:0 4px 15px rgba(0,0,0,.08);
cursor:pointer;
transition:.3s;
}

.city-card:hover{
background:#2d7df6;
color:white;
}

/* CTA */

.cta{
background:#2d7df6;
color:white;
padding:70px 0;
text-align:center;
}

.btn-primary{
background:white;
color:#2d7df6;
padding:12px 25px;
border-radius:8px;
text-decoration:none;
font-weight:600;
}
/* PG GRID */

.pg-grid{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:25px;
margin-top:30px;

}

/* PG CARD */

.card{

background:white;
border-radius:14px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,.08);
transition:0.3s;

}

.card:hover{

transform:translateY(-6px);
box-shadow:0 15px 40px rgba(0,0,0,.15);

}

.card img{

height:200px;
object-fit:cover;
border-bottom:1px solid #eee;

}

.card h3{

padding:15px;
font-size:20px;

}

.card p{

padding:0 15px;
color:#555;

}

.card a{

display:block;
margin:15px;
padding:10px;
background:#2d7df6;
color:white;
text-align:center;
border-radius:6px;
text-decoration:none;
font-weight:500;

}
/* PG DETAILS */

.pg-details-wrapper{

display:grid;
grid-template-columns:2fr 1fr;
gap:40px;
padding:40px;

}

.pg-main{

background:white;
padding:30px;
border-radius:12px;
box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.pg-title{

font-size:34px;
margin-bottom:15px;

}

.pg-image{

width:100%;
border-radius:10px;
margin-bottom:20px;

}

.pg-desc{

font-size:16px;
color:#555;
margin-bottom:25px;

}

/* INFO GRID */

.pg-info-grid{

display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
margin-bottom:30px;

}

.pg-info-grid div{

background:#f7f8fb;
padding:15px;
border-radius:8px;

}

.rent{

color:#2d7df6;
font-weight:600;

}

/* FACILITIES */

.facilities{

display:flex;
gap:15px;
flex-wrap:wrap;
margin-bottom:25px;

}

.facilities span{

background:#eef3ff;
padding:8px 14px;
border-radius:20px;
font-size:14px;

}

/* BOOKING */

.pg-booking{

background:white;
padding:25px;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,.08);
height:fit-content;

}

.pg-booking input{

width:100%;
padding:10px;
margin:10px 0;
border:1px solid #ddd;
border-radius:6px;

}

.pg-booking button{

width:100%;
padding:12px;
background:#2d7df6;
color:white;
border:none;
border-radius:6px;
font-weight:600;

}
/* FORM */

.pg-form{

max-width:750px;
margin:auto;
background:white;
padding:35px;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.pg-form input,
.pg-form textarea,
.pg-form select{

width:100%;
padding:12px;
margin-bottom:12px;
border-radius:6px;
border:1px solid #ddd;

}

.pg-form textarea{

height:120px;

}

/* FEATURES */

.features{

display:grid;
grid-template-columns:repeat(2,1fr);
gap:10px;
margin:20px 0;

}

/* BUTTON */

.add-btn{

background:#27ae60;

}
.pg-img{
width:100%;
height:220px;
object-fit:cover;
border-radius:10px;
}