html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* Elements padding se baahir nahi jayenge */
  font-family: "Baloo Bhai 2", sans-serif;
}

body {
  width: 100%;
  min-height: 100vh;
  background: url(images/bg.jpg) no-repeat center center/cover;
  background-attachment: fixed;
  overflow-x: hidden;
}

.black {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  position: fixed; /* Poori screen par overlay fit rahega */
  top: 0;
  left: 0;
  z-index: -1;
}

/* Header Styling */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 50px;
  color: white;
  position: relative;
  z-index: 10;
}

#check {
  display: none;
}

.checkbox-label {
  display: none;
  cursor: pointer;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: orange;
}

.logo {
  font-size: 30px;
  font-weight: 900;
  cursor: pointer;
}

/* Hero Section */
.pcon {
  height: calc(100vh - 80px);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 20px;
}

.explore {
  font-size: 45px;
  font-weight: 900;
  max-width: 600px;
  line-height: 1.2;
}

.button {
  margin-top: 25px;
}

.btn {
  padding: 10px 25px;
  border: 2px solid white;
  background: transparent;
  border-radius: 30px;
  cursor: pointer;
}

.btn a {
  text-decoration: none;
  color: white;
  font-weight: 700;
}

.btn:hover {
  background-color: white;
}
.btn:hover a {
  color: black;
}

/* Common Section Settings */
section {
  padding: 80px 20px;
  background-color: white; /* Content readable karne ke liye background white kiya */
  color: #333;
}

/* Alternate dark sections if required, standard real estate look */
#about, #review { background-color: #f8fafc; }
#services, #contact { background-color: #ffffff; }

section h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 40px;
  color: #1e293b;
}

/* About Section */
.leftcont {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
  gap: 50px;
}

.left, .right {
  width: 50%;
}

.image {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.font {
  font-size: 35px;
  font-weight: 700;
  color: #3c3cf1;
}

.btn2 {
  margin-top: 20px;
}

.but {
  padding: 10px 25px;
  background: #3c3cf1;
  border: 2px solid #3c3cf1;
  color: white;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.but:hover {
  background: transparent;
  color: #3c3cf1;
}

/* Projects Section */
.cont {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.box {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  width: 300px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.h3, .para {
  padding: 10px 15px;
}

.para {
  color: #64748b;
  font-size: 14px;
}

/* Testimonials */
.child {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.padd {
  padding: 25px;
  text-align: center;
  height: auto; /* Fixed height removed */
}

.imag {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.display {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 10px 0;
}

/* Contact Section (COMPLETELY FIXED) */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.inputs-row {
  display: flex;
  gap: 20px;
  width: 100%;
}

.inputs-row input {
  width: 50%;
  height: 50px;
  padding: 0 15px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 16px;
}

.message-row textarea {
  width: 100%;
  height: 150px;
  padding: 15px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 16px;
  resize: vertical;
}

.submit {
  background-color: #3c3cf1;
  color: white;
  padding: 12px 40px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  transition: background 0.3s;
}

.submit:hover {
  background-color: #2525bd;
}

/* Footer Styling */
footer {
  background-color: #0f172a;
  color: #cbd5e1;
  padding: 60px 40px 20px;
}

.justify {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.first, .second, .third {
  flex: 1;
  min-width: 250px;
}

.utili {
  color: white;
  margin-bottom: 20px;
}

.link {
  list-style: none;
}

.link li {
  margin-bottom: 10px;
}

.link li a {
  color: #cbd5e1;
  text-decoration: none;
}

.link li a:hover {
  color: orange;
}

.parent {
  display: flex;
  margin-top: 15px;
}

.parent input {
  padding: 10px;
  border: none;
  border-radius: 4px 0 0 4px;
  width: 70%;
}

.submi-btn {
  background: #3c3cf1;
  color: white;
  border: none;
  padding: 0 15px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.allright {
  text-align: center;
  color: #64748b;
}

/* ==========================================
   MOBILE & TABLET RESPONSIVENESS (Media Queries)
   ========================================== */

@media (max-width: 992px) {
  .leftcont {
    flex-direction: column;
  }
  .left, .right {
    width: 100%;
  }
  header {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  /* Hamburger Menu logic */
  .checkbox-label {
    display: block;
  }
  nav {
    position: absolute;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(0, 0, 0, 0.95);
    transition: all 0.5s ease;
  }
  nav ul {
    flex-direction: column;
    padding-top: 50px;
  }
  nav ul li {
    margin: 20px 0;
  }
  #check:checked ~ nav {
    left: 0;
  }
  
  /* Hero Text Adjustment */
  .explore {
    font-size: 32px;
  }
  
  /* Contact Form layout for single column on mobile */
  .inputs-row {
    flex-direction: column;
  }
  .inputs-row input {
    width: 100%;
  }
}
