/* ==============================
   HEADER / NAVIGATION BAR STYLES
============================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
}

/* HEADER BASE */
#site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* NAV CONTAINER */
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 25px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.logo .mark {
  background: #007bff;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
}

.brand-tag {
  font-size: 0.75rem;
  color: #666;
}

/* DESKTOP NAV LINKS */
.desktop-nav {
  display: flex;
  gap: 30px;
}

.desktop-nav a {
  position: relative;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #007bff;
  transition: width 0.3s ease;
}

.desktop-nav a:hover {
  color: #007bff;
}

.desktop-nav a:hover::after {
  width: 100%;
}

/* HAMBURGER ICON */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 32px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger .bar {
  position: relative;
  width: 100%;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

.hamburger .bar::before,
.hamburger .bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger .bar::before {
  top: -8px;
}

.hamburger .bar::after {
  top: 8px;
}

/* HAMBURGER ACTIVE STATE (X animation) */
.hamburger.active .bar {
  background: transparent;
}

.hamburger.active .bar::before {
  transform: rotate(45deg);
  top: 0;
}

.hamburger.active .bar::after {
  transform: rotate(-45deg);
  top: 0;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.4s ease;
}

.mobile-menu a {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: #333;
  transition: background 0.3s ease;
}

.mobile-menu a:hover {
  background: #007bff;
  color: #fff;
}

/* MOBILE MENU ACTIVE */
.mobile-menu.active {
  display: flex;
  max-height: 400px;
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}


/* HERO SECTION */
.hero {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-image, .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 20px;
  max-width: 1200px;
  width: 100%;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

/* HERO BUTTONS */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.hero-buttons .btn {
  padding: 14px 32px;        /* slightly larger for desktop */
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;     /* remove underline */
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* subtle shadow */
}

.hero-buttons .btn.primary {
  background: #007bff;
  color: #fff;
  border: none;
}

.hero-buttons .btn.primary:hover {
  background: #0056b3;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

.hero-buttons .btn.secondary {
  background: #fff;
  color: #007bff;
  border: 2px solid #007bff;
}

.hero-buttons .btn.secondary:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
}

/* HERO SEARCH */
.hero-search {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 25px;
}

.hero-search input,
.hero-search select {
  padding: 12px 18px;
  border-radius: 6px;
  border: 1px solid #ccc;
  min-width: 150px;
  font-size: 1rem;
}

.hero-search .search-btn {
  background: #ff6b6b; /* updated color */
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-search .search-btn:hover {
  background: #e55a5a; /* slightly darker on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* RESPONSIVE HERO */
@media (max-width: 992px) {
  .hero-text h1 {
    font-size: 2.2rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
  .hero-buttons .btn {
    font-size: 1rem;
    padding: 12px 24px;
  }
}

@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 1.6rem;
  }
  .hero-text p {
    font-size: 0.9rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  .hero-search {
    flex-direction: column;
    gap: 12px;
  }
  .hero-search input,
  .hero-search select,
  .hero-search .search-btn {
    width: 100%;
  }
}

/* ==============================
   FEATURED PROPERTIES SECTION
============================== */
.section.properties {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #333;
}

.section-sub {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #666;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}

.property-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  max-width: 350px;
  width: 100%;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.property-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.property-card:hover .property-media img {
  transform: scale(1.05);
}

.property-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.property-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #333;
}

.property-meta {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 15px;
}

.property-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.property-footer .price {
  font-size: 1.1rem;
  font-weight: 600;
  color: #007bff;
}

.property-footer .btn-small {
  background: #007bff;
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.property-footer .btn-small:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

/* ==============================
   RESPONSIVE GRID
============================== */
@media (max-width: 992px) {
  .section-title {
    font-size: 2rem;
  }
  .section-sub {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.6rem;
  }
  .section-sub {
    font-size: 0.95rem;
  }
  .property-card {
    max-width: 100%;
  }
  .property-media img {
    height: 180px;
  }
}

/* Scroll Animation */
.property-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.property-card.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Contractor Section */
.contractor-section{
  max-width:1100px;
  margin:40px auto;
  padding:20px;
}

.contractor-section h2{
  text-align:center;
  margin-bottom:8px;
}

/* ===== Subtitle ===== */
.contractor-section .subtitle{
  text-align:center;
  font-size:15px;
  color:#6b7280;
  margin-bottom:30px;
}

/* ===== Cards Layout ===== */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:20px;
}

/* ===== Responsive (Mobile) ===== */
@media (max-width:768px){
  .cards{
    grid-template-columns: 1fr;
  }
}

/* ===== Card ===== */
.card{
  background:#ffffff;
  padding:24px;
  border-radius:18px;
  text-align:center;
  box-shadow:0 12px 30px rgba(0,0,0,0.12);
}

/* ===== Dummy Photo ===== */
/*
  TRANSPARENT DUMMY PLACEHOLDER
  Recommended size:
  width: 88px
  height: 88px
  Ye real photo ke bina bhi layout ko balanced rakhta hai
*/


/* ===== Text ===== */
.name{
  font-size:18px;
  font-weight:700;
}
.verified{
  color:#22c55e;
}
.role{
  font-size:14px;
  color:#6b7280;
  margin:6px 0 10px;
}
.meta{
  font-size:14px;
  margin:6px 0;
  color:#374151;
}

/* ===== Button ===== */
.hire-btn{
  margin-top:16px;
  width:100%;
  padding:14px;
  background:#2563eb;
  color:#ffffff;
  border:none;
  border-radius:12px;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
}
.hire-btn:hover{
  background:#1e4fd6;
}

.note{
  margin-top:10px;
  font-size:12px;
  color:#15803d;
}
/* ===== Contractor Photo (BIG Square) ===== */
.photo{
  width:100%;
  max-width:320px;           /* 👈 PHOTO BADA */
  aspect-ratio:1 / 1;        /* SQUARE */
  border-radius:16px;
  overflow:hidden;
  margin:0 auto 18px;
  background:#f3f4f6;
}

.photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.card:hover .photo img{
  transform:scale(1.05);
  transition:0.3s ease;
}

/* ===== Tablet ===== */
@media (max-width:1024px){
  .photo{
    max-width:260px;
    margin-left:auto;
    margin-right:auto;
  }
}

/* ===== Mobile ===== */
@media (max-width:768px){
  .photo{
    max-width:220px;
  }
}

/* ===== Small Mobile ===== */
@media (max-width:480px){
  .photo{
    max-width:180px;
  }
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}


/* Finance Modern Section */
.finance-modern {
  padding: 60px 20px;
  background: #f0f4f8;
}

/* Heading Centered */
.finance-header {
  text-align: center;
  margin-bottom: 50px;
}

.finance-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.finance-header .section-sub {
  font-size: 1.1rem;
  color: #555;
}

/* Row Layout */
.finance-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* Info Cards Column */
.finance-info-cards {
  flex: 1 1 350px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Individual Cards */
.finance-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.finance-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.finance-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  color: #007bff;
}

.finance-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

.finance-card .btn-small {
  padding: 8px 15px;
  border-radius: 6px;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.finance-card .btn-small:hover {
  background: #0056b3;
}

/* Image Column */
.finance-media {
  flex: 1 1 300px;
  text-align: center;
}

.finance-media .finance-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 992px) {
  .finance-row {
    flex-direction: column-reverse;
    text-align: center;
  }
  .finance-media {
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .finance-header h2 {
    font-size: 2rem;
  }
  .finance-header .section-sub {
    font-size: 0.95rem;
  }
  .finance-card {
    padding: 15px;
  }
}


/* Testimonials Section */
.testimonials {
  padding: 60px 20px;
  background: #f9f9f9;
}

.testimonials h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-align: center;
}

.testimonials .section-sub {
  font-size: 1.1rem;
  color: #555;
  text-align: center;
  margin-bottom: 40px;
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

/* Individual Testimonial Card */
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.testimonial-card p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 15px;
}

.testimonial-card cite {
  display: block;
  font-style: normal;
  color: #007bff;
  font-weight: 600;
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .testimonials h2 {
    font-size: 2.2rem;
  }
  .testimonials .section-sub {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .testimonial-card {
    padding: 20px 15px;
  }
  .testimonials h2 {
    font-size: 1.8rem;
  }
  .testimonials .section-sub {
    font-size: 0.95rem;
  }
}




.contact-section {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center; /* centers everything inside */
}

.contact-header h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.contact-header p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}

/* Cards */
.contact-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-card {
  background: #fff;
  border-radius: 10px;
  padding: 35px 25px;
  width: 250px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.contact-card i {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 12px;
}

.contact-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 1.1rem;
  color: #555;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 992px) {
  .contact-card {
    width: 220px;
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .contact-cards {
    flex-direction: column;
    align-items: center;
  }

  .contact-card {
    width: 80%;
    margin-bottom: 20px;
  }
}

/* =========================
   FOOTER SECTION
========================= */
.footer-section {
  background: #111;
  color: #fff;
  padding: 60px 20px 20px 20px;
  font-family: 'Arial', sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
  align-items: start;
}

.footer-brand .mark {
  font-size: 2rem;
  font-weight: bold;
  color: #007bff;
}

.footer-brand .brand-name {
  font-size: 1.4rem;
  margin-top: 5px;
}

.footer-brand small {
  color: #aaa;
  display: block;
  margin-top: 3px;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  font-size: 1.15rem;
  margin-bottom: 15px;
  color: #fff;
}

.footer-links a {
  display: block;
  color: #aaa;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
  color: #007bff;
  transform: translateX(3px);
}

.footer-contact p {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #aaa;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 10px;
  color: #007bff;
  min-width: 20px;
  text-align: center;
}

.footer-social .social-icons {
  display: flex;
  align-items: center;
}

.footer-social .social-icons a {
  color: #aaa;
  font-size: 1.3rem;
  margin-right: 15px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social .social-icons a:hover {
  color: #007bff;
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #222;
  padding-top: 15px;
  font-size: 0.9rem;
  color: #777;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-social .social-icons {
    justify-content: center;
    margin-top: 10px;
  }
  .footer-contact p {
    justify-content: center;
  }
}
