 /*==============================
   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;
  }
}




/* ===== Contractor Hero Section ===== */
.contractor-hero {
  position: relative;
  height: 90vh;
  background: url('homehero.png')
    center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #ddd;
}

.btn-primary {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .contractor-hero {
    height: 70vh;
    padding: 40px 10px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .btn-primary {
    padding: 10px 22px;
    font-size: 0.95rem;
  }
}


/* ===== Our Services Section ===== */
.services-section {
  background: #f9f9f9;
  padding: 80px 20px;
  font-family: 'Arial', sans-serif;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.service-card i {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #222;
}

.service-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .service-card {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.7rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .service-card i {
    font-size: 2rem;
  }
}


/* ===== Why Choose Us Section ===== */
.why-choose-section {
  background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
  padding: 80px 20px;
  font-family: 'Arial', sans-serif;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.why-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px 25px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.why-card i {
  font-size: 2.8rem;
  color: #007bff;
  margin-bottom: 15px;
}

.why-card h3 {
  font-size: 1.3rem;
  color: #222;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .why-card {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.7rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .why-card i {
    font-size: 2.2rem;
  }
}



/* ===== Project Gallery Section ===== */
.project-gallery {
  background: #f9f9f9;
  padding: 80px 20px;
  font-family: 'Arial', sans-serif;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.gallery-overlay p {
  font-size: 0.95rem;
  color: #ddd;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .gallery-card img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.7rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .gallery-card img {
    height: 180px;
  }
}







/* =============================
   CLIENT TESTIMONIALS SECTION
============================= */
.testimonials {
  background: #f5f7fa;
  padding: 80px 20px;
  font-family: 'Arial', sans-serif;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.client-photo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.client-review {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 15px;
  font-style: italic;
}

.client-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #007bff;
  margin-bottom: 4px;
}

.client-role {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 8px;
}

.rating i {
  color: #ffb400;
  margin: 0 2px;
}

/* ===== Fade Animation ===== */
.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.7s ease;
}
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .testimonial-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.7rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }
}


/* Faq section  */


.faq-section {
  background: #f9f9f9;
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
}

.faq-container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.faq-container h2 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  color: #222;
}

.faq-container p {
  color: #666;
  margin-bottom: 40px;
}

.faq-item {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.faq-item.active {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.faq-question {
  width: 100%;
  background: #fff;
  border: none;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  font-size: 1.1rem;
  color: #333;
  font-weight: 500;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  text-align: left;
  padding: 0 22px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 15px 22px 20px;
}

.faq-answer p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-container h2 {
    font-size: 2rem;
  }
  .faq-question {
    font-size: 1rem;
  }
}





/* =========================
   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;
   color: #aaaaaa38;
}

.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;
  }
}


/* 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;
  }
}
