* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
}

/* Navbar */
.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 40px;
	background: #2B3D5B;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	color: white;
	height: 70px;
}

.logo {
	font-size: 28px;
	font-weight: bold;
	color: white;
	display: flex;
	align-items: center;
	gap: 10px;
}

.nav-links {
	display: flex;
	list-style: none;
	gap: 25px;
	margin-left: auto;
	margin-right: 20px;
}

.auth {
	display: flex;
	gap: 10px;
}

.login {
	background: #27AE60;
	color: white;
	border: none;
	padding: 8px 15px;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration:none;
}

.login:hover {
	background-color: #ff6677;
	transform: translateY(-2px);
}


.nav-links li a {
	text-decoration: none;
	color: white;
	padding: 8px 12px;
	transition: all 0.3s ease;
}

.nav-links li a:hover {
	/*color: #ffff;  Accent color */
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 5px;
	transform: translateY(-2px);
}
/* Logo Main Container */
.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;
}

/* Text Styling */
.logo-text-wrapper {
	font-size: 26px;
	font-weight: 800;
	margin-left: 8px;
	z-index: 2;
	letter-spacing: 0.5px;
}

.rent-text {
	color: #ffffff;
}

.ify-text {
	color: #a3cf62;
	font-weight: 400; 
}


.bottom-line {
	width: 100%;
	height: 2px;
	background-color: #ffffff;
	margin-top: 2px;
}

/* Hero */
.hero {
	 height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero h1 {
	 font-size: 50px;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero p {
	font-size: 18px;
  margin-top: 10px;
}

.slider {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.slide {
	
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}

.slide.active {
	opacity: 1;
}

.hero-content {
	z-index: 2;
	position: relative;
}

.hero::after {
	 content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.4));
  top: 0;
  left: 0;
}
/* Search Section */
.search-section {
	display: flex;
	justify-content: center;
	margin-top: 250px;
	
}

.search-box {
	 backdrop-filter: blur(15px);
  background: rgba(255,255,255,0.2);
  padding: 20px 25px;
  border-radius: 20px;
  display: flex;
  gap: 15px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.search-box select {
	 padding: 12px;
  border-radius: 10px;
  border: none;
  outline: none;
  width: 180px;
}

.search-box button {
	background: #27AE60;
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	cursor: pointer;
}

.search-box button:hover {
	background: #ff5c00;
}



/* Apartments */
.apartments {
	padding: 60px;
	text-align: center;
}

.apartment-container {
	display: flex;
	justify-content: center;
	gap: 30px;
	flex-wrap: wrap;
}

.card {
	width: 280px;
	background: white;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	padding: 10px;
}

.card img {
	width: 100%;
	border-radius: 10px;
}

/* Services */
.services {
	padding: 60px;
	text-align: center;
	background: #f7f7f7;
}

.service-container {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

.service-box {
	width: 200px;
	background: white;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


/* 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 h2 {
	margin-bottom: 15px;
}

.footer-brand p {
	font-size: 14px;
	color: #ddd;
	line-height: 1.6;
}

/* SOCIAL ICONS */
.social-icons {
	margin-top: 15px;
}

.social-icons a {
	display: inline-block;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	border-radius: 50%;
	background: #ffffff20;
	color: white;
	margin-right: 10px;
	font-size: 16px;
	transition: 0.3s;
}

.social-icons a:hover {
	background: #ff4d5a;
	transform: translateY(-3px);
}

/* LINKS */
.footer-links ul {
	list-style: none;
	padding: 0;
}

.footer-links ul li {
	margin-bottom: 10px;
}

.footer-links ul li a {
	text-decoration: none;
	color: #ddd;
	font-size: 14px;
	transition: 0.3s;
}

.footer-links ul li a:hover {
	color: #ff4d5a;
	padding-left: 5px;
}

/* CONTACT */
.footer-contact p {
	font-size: 14px;
	color: #ddd;
}

.footer-bottom {
	text-align: center;
	margin-top: 20px;
	padding: 15px;
	background: #7C8594;
	font-size: 14px;
	width: 100%;
	box-sizing: border-box; /* include padding */
}

.footer-map iframe {
	width: 100%;
	height: 150px;
	border-radius: 10px;
}


/* WHY USE WEBSITE */
.why-section {
	padding: 70px 40px;
	background: #f6f8fb;
	text-align: center;
}

.why-title {
	font-size: 32px;
	margin-bottom: 40px;
}

.why-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	max-width: 1100px;
	margin: auto;
}

/* CARD */
.why-card {
	background: white;
	 width: 100%;
    max-width: 260px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
	transition: 0.3s;
	text-align: center;
}

.why-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}


/* ICON */
.why-card i {
	font-size: 30px;
	color: white;
	background: #2B3D5B;
	width: 60px;
	height: 60px;
	line-height: 60px;
	border-radius: 50%;
	margin: 25px auto 10px;
	display: block;
}

.why-card h3 {
	margin: 10px 0;
	font-size: 20px;
}

.why-card p {
	font-size: 14px;
	color: #555;
	padding: 0 20px 25px;
	line-height: 1.6;
}


/* ===== FEEDBACK SECTION ===== */
.feedback-section {
    padding: 80px 20px;
    background: linear-gradient(to right, #eef2f7, #f8fbff);
    text-align: center;
}

.feedback-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #2B3D5B;
}

/* ===== MAIN LAYOUT ===== */
.feedback-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

/* ===== SAME SIZE (FORM + CARD) ===== */
.feedback-form-box,
.feedback-slider {
    flex: 1;
    max-width: 500px;
    min-width: 250px;
    height: 250px;   /* 🔥 SAME FIXED HEIGHT */
}

/* ===== FORM DESIGN ===== */
.feedback-form {
    width: 100%;
    height: 100%;

    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}

/* Inputs */
.feedback-form input,
.feedback-form textarea {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

/* Textarea */
.feedback-form textarea {
    height: 100px;
    resize: none;
}

/* Button */
.feedback-form button {
    background: linear-gradient(135deg,#27AE60,#2ecc71);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.feedback-form button:hover {
    background: linear-gradient(135deg,#ff5c7a,#ff7b54);
    transform: scale(1.05);
}

/* ===== STAR RATING ===== */
.star-rating {
    direction: rtl;
    font-size: 28px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    color: #ccc;
    cursor: pointer;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #FFD700;
}

/* ===== SLIDER ===== */
.feedback-slider {
    position: relative;
}

/* Slides */
.feedback-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.feedback-slide.active {
    display: block;
}

/* ===== CARD ===== */
.feedback-card {
    width: 100%;
    height: 100%;

    background: linear-gradient(135deg,#ffffff,#f3f6ff);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Header */
.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feedback-header h4 {
    color: #2B3D5B;
    font-size: 18px;
}

/* Stars */
.stars {
    color: #FFD700;
    font-size: 18px;
}

/* ===== MESSAGE AREA ===== */
.feedback-message {
    display: flex;
    align-items: center;         /* vertical center */
    justify-content: space-between;  /* arrows side ला */
    flex-grow: 1;
}

/* 🔥 FIX HEIGHT + SCROLL */
.feedback-message p {
     flex: 1;                 /* full width घेईल */
    text-align: center;      /* center text */
    padding: 0 10px;
}

/* Scrollbar */
.feedback-message p::-webkit-scrollbar {
    width: 5px;
}
.feedback-message p::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* ===== ARROWS ===== */
.prev, .next {
    background: #2B3D5B;
    color: white;
    border: none;
    font-size: 20px;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
}

.prev:hover, .next:hover {
    background: #ff5c7a;
    transform: scale(1.1);
}

/* ===== RESPONSIVE ===== */

/* ===============================
   GLOBAL RESPONSIVE SETTINGS
================================= */
img {
    max-width: 100%;
    height: auto;
}

body {
    overflow-x: hidden;
}

/* ===============================
   MOBILE (0px – 600px)
================================= */
@media (max-width: 600px) {

    /* NAVBAR */
.logo-container {
        margin-left: 10px; /* small space after hamburger */
    }
.navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: 70px;
        padding: 0 20px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px; /* navbar height */
        left: 0;
        width: 100%;
        background: #2B3D5B;
        padding: 15px 0;
        gap: 10px;
        z-index: 99;
    }
  .nav-links li a {
        display: block;
        padding: 10px 0;
    }

    /* Hamburger icon */
   .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 25px;
        height: 18px;
        cursor: pointer;
    }
   .hamburger span {
        height: 3px;
        width: 100%;
        background: white;
        border-radius: 2px;
    }
    /* When nav is active (after click) */
    .nav-links.active {
        display: flex;
    }
    .auth {
          margin-left: auto;
    }

    /* HERO */
    .hero {
        height: auto;
        padding: 40px 10px;
    }

    .hero h1 {
        font-size: 22px;
    }

    .hero p {
        font-size: 14px;
    }

    /* SEARCH */
    .search-section {
        margin-top: 40px;
    }

    .search-box {
        flex-direction: column;
        width: 100%;
        padding: 15px;
    }

    .search-box select,
    .search-box button {
        width: 100%;
    }

    /* WHY SECTION */
    .why-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-card {
        width: 100%;
    }

    /* FEEDBACK */
    .feedback-container {
        flex-direction: column;
        gap: 20px;
    }

    .feedback-form-box,
    .feedback-slider {
        width: 100%;
        height: auto;
    }

    /* FEEDBACK TEXT */
    .feedback-message {
        flex-direction: row;
    }

    .feedback-message p {
        font-size: 14px;
    }

    /* FOOTER */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .footer-map iframe {
        width: 100%;
    }
}

/* ===============================
   TABLET (601px – 900px)
================================= */
@media (min-width: 601px) and (max-width: 900px) {

    .navbar {
        padding: 10px 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .search-box {
        flex-wrap: wrap;
        justify-content: center;
    }

    .search-box select {
        width: 140px;
    }

    /* WHY */
    .why-container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* FEEDBACK */
    .feedback-container {
        flex-direction: column;
        align-items: center;
    }

    .feedback-form-box,
    .feedback-slider {
        width: 90%;
        height: auto;
    }

    /* FOOTER */
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===============================
   SMALL LAPTOP (901px – 1200px)
================================= */
@media (min-width: 901px) and (max-width: 1200px) {

    .search-box {
        flex-wrap: wrap;
    }

    .why-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .feedback-container {
        gap: 20px;
    }
}

/* ===============================
   LARGE SCREEN (1200px+)
================================= */
@media (min-width: 1200px) {

    .search-box {
        max-width: 900px;
        margin: auto;
    }

    .why-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .feedback-container {
        max-width: 1100px;
        margin: auto;
    }

    .footer-container {
        max-width: 1200px;
        margin: auto;
    }
}

