/* =======================
   GLOBAL STYLES
======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #f8f9fa;
  scroll-behavior: smooth;
}
/* ===========================
   RESPONSIVE NAVBAR TEXT
=========================== */

/* Default (Desktop) */
.navbar-brand {
  font-size: 20px;
}

.navbar-nav .nav-link {
  font-size: 16px;
}

.navbar .btn {
  font-size: 15px;
}

/* Tablets (max-width: 991px) */
@media (max-width: 991px) {
  .navbar-brand {
    font-size: 18px;
    text-align: center;
    width: 100%;
  }

  .navbar-nav .nav-link {
    font-size: 17px;
  }

  .navbar .btn {
    width: 100%;
    font-size: 16px;
    margin-top: 10px;
  }
}

/* Large Phones (max-width: 768px) */
@media (max-width: 768px) {
  .navbar-brand {
    font-size: 17px;
  }

  .navbar-nav .nav-link {
    font-size: 16px;
  }
}

/* Small Phones (max-width: 576px) */
@media (max-width: 576px) {
  .navbar-brand {
    font-size: 15px;
    line-height: 20px;
  }

  .navbar-nav .nav-link {
    font-size: 15px;
  }

  .navbar .btn {
    font-size: 14px;
    padding: 8px 12px;
  }
}

/* Extra small devices (max-width: 400px) */
@media (max-width: 400px) {
  .navbar-brand {
    font-size: 14px;
  }

  .navbar-nav .nav-link {
    font-size: 14px;
  }
}

/* ============ HERO SECTION ANIMATIONS ============ */

/* Background overlay for better contrast */
.hero-section {
  position: relative;
  height: 100vh;
  background: url('/images/Nikhilesh Construction bg.png') center/cover no-repeat;
}

.hero-section .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

/* Text animation - fade and slide up */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeUp 1s ease-out forwards;
}

.fade-in-delay {
  opacity: 0;
  animation: fadeUp 1.3s ease-out forwards;
  animation-delay: 0.3s;
}

.fade-in-delay2 {
  opacity: 0;
  animation: fadeUp 1.5s ease-out forwards;
  animation-delay: 0.6s;
}

/* Highlight text color */
.highlight {
  color: #ffc107;
}

/* Button glow animation */
.glow-button {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.6);
  transition: all 0.3s ease;
}

.glow-button:hover {
  box-shadow: 0 0 25px rgba(255, 193, 7, 1);
  transform: translateY(-3px);
}


/* =======================
   SERVICES SECTION
======================= */
.services {
  background-color: #fff;
}

.services h2 {
  color: #0d6efd;
  font-weight: 700;
  margin-bottom: 40px;
}

.card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.card-title {
  color: #004aad;
  font-weight: 600;
  margin-bottom: 10px;
}

.card-text {
  font-size: 0.95rem;
  color: #555;
}

.projects-section {
  background: linear-gradient(to right, #0d0d0d, #1a1a1a);
  color: white;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(255, 204, 0, 0.2);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 3px solid #ffcc00;
}

.project-card h5 {
  color: #ffcc00;
  margin-top: 15px;
  font-weight: 600;
}

.about-section p {
  line-height: 1.7;
}

.about-section .btn {
  border-radius: 50px;
  padding: 10px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.about-section .btn:hover {
  background-color: #000;
  color: #fff;
}

.section-title {
  font-size: 2rem;
  letter-spacing: 1px;
}

.about-section img {
  transition: transform 0.5s ease;
}

.about-section img:hover {
  transform: scale(1.03);
}
  .swal2-square-popup {
    border-radius: 12px !important;
    height: 450px !important;
  }
  .project-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .project-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 15px rgba(0,0,0,0.2);
  }
  
    /* Fade-in Animations */
    @keyframes fadeUp {
      from {opacity: 0; transform: translateY(40px);}
      to {opacity: 1; transform: translateY(0);}
    }
    .fade-in-up {
      animation: fadeUp 1s ease forwards;
    }
    .fade-in-delay {
      animation: fadeUp 1.3s ease forwards;
    }
    .fade-in-delay2 {
      animation: fadeUp 1.6s ease forwards;
    }


.qr-img {
    max-width: 150px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .qr-img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  }

  #contact .btn {
    border-radius: 30px;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
  }

  #contact .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

  @media (max-width: 768px) {
    #contact .d-flex {
      justify-content: center !important;
    }
    .qr-img {
      max-width: 120px;
    }
  }


  /* ---------- Stats Section ---------- */
.stats-section {
  background: linear-gradient(to right, #343a40, #212529);
  position: relative;
}
.stats-section h2 {
  color: #ffc107;
  letter-spacing: 1px;
}
.stats-section .count {
  color: #ffc107;
  font-size: 3rem;
  transition: 0.3s ease-in-out;
}
.stats-section .count:hover {
  transform: scale(1.1);
}

/* ---------- Team Section ---------- */
.team-section .team-card {
  transition: all 0.3s ease;
}
.team-section .team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.team-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 3px solid #ffc107;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .stats-section .count {
    font-size: 2.2rem;
  }
  .team-img {
    width: 100px;
    height: 100px;
  }
}

/* =======================
   CLIENT TESTIMONIAL CSS
======================= */

.testimonials-section {
  background: #f8f9fa;
}

.testimonial-card {
  background: #fff;
  border-radius: 14px;
  transition: 0.3s ease;
  text-align: center;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.client-img img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border: 3px solid #0d6efd;
  padding: 2px;
}

.testimonial-text {
  font-style: italic;
  color: #444;
  margin-top: 10px;
}

/* Career Section Styling */
.career-section {
  background: #f8f9fa;
}

.career-title {
  letter-spacing: 2px;
}

.career-card {
  background: #ffffffcc;
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

.career-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 10px 25px rgba(0,0,0,0.2);
}

.career-card .icon-box {
  background: #ffc107;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.career-card .icon-box i {
  font-size: 35px;
  color: #000;
}

.career-card h4 {
  margin-top: 15px;
  font-weight: bold;
}

.career-card button {
  border-radius: 25px;
}

#projectSlider {
  border-radius: 15px;
  overflow: hidden;
}

.slider-img {
  height: 450px;
  object-fit: cover;
  filter: brightness(80%);
}

.carousel-caption h5 {
  font-size: 28px;
  font-weight: 700;
}

.carousel-caption p {
  font-size: 16px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}



/* =======================
   FOOTER
======================= */
footer {
  background-color: #111;
  color: white;
  padding: 30px 0;
}

footer p {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}
#contact {
  background-color: #f8f9fa;
}

#contact ul {
  font-size: 1.1rem;
}

#contact a:hover {
  color: #ffc107;
  text-decoration: underline;
}

#contact iframe {
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.swal2-popup.career-popup {
  border-radius: 15px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;
  padding: 25px !important;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  transition: 0.3s;
}
.footer-links a:hover {
  color: #ffc107;
  padding-left: 5px;
}

.social-icons a {
  font-size: 22px;
  color: #ffffff;
  margin-right: 12px;
  transition: 0.3s;
}
.social-icons a:hover {
  color: #ffc107;
  transform: scale(1.2);
}


/* =======================
   RESPONSIVE DESIGN
======================= */
@media (max-width: 768px) {
  .hero {
    padding: 100px 15px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .project-detail-content {
    padding: 20px;
  }
}
/* CERTIFICATE SECTION IMAGE SIZE 50% */
.cert-img-50 {
  width: 50% !important;
  height: 50% !important;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Carousel images also follow same size */
.carousel-item img {
  width: 50% !important;
  height: 50% !important;
  object-fit: contain;
  margin: 0 auto;
}

/* Optional nice border + shadow */
.certificate-box img,
.carousel-item img {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.timeline {
  position: relative;
  margin: 0 auto;
  padding: 20px 0;
  max-width: 900px;
}

.timeline:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 100%;
  background: #0d6efd;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 0;
}

.timeline-item .timeline-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
}

.timeline-item.left {
  left: 0;
  text-align: left;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-item .timeline-icon {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #0d6efd;
  color: #fff;
  font-size: 24px;
  padding: 12px;
  border-radius: 50%;
  z-index: 10;
}

@media (max-width: 768px) {
  .timeline:before {
    left: 10px;
  }
  .timeline-item {
    width: 100%;
    left: 20px !important;
    margin-bottom: 30px;
  }
  .timeline-item .timeline-icon {
    left: 0;
    transform: translate(-50%, -50%);
  }
}


/* Responsive Adjustments */
@media (max-width: 768px) {
  #certificates .row {
    margin-bottom: 30px;
  }

  #certificates h4 {
    text-align: center;
    margin-bottom: 15px;
  }

  #certificates p {
    text-align: center;
  }
}


/* Modal Body Styling */
#candidateForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Input + Textarea */
#candidateForm input,
#candidateForm textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #cfd4da;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #f9f9f9;
}

/* Input Focus Effect */
#candidateForm input:focus,
#candidateForm textarea:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 5px rgba(13, 110, 253, 0.3);
  background: #fff;
  outline: none;
}

/* Textarea */
#candidateForm textarea {
  height: 110px;
  resize: none;
}

/* Submit Button */
#submitBtn {
  background: #0d6efd;
  border: none;
  padding: 12px;
  color: #fff;
  font-size: 17px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 600;
}

#submitBtn:hover {
  background: #084dce;
}

/* Modal Header */
.modal-header {
  background: #0d6efd;
  color: #fff;
  border-radius: 8px 8px 0 0;
}

/* Modal Title */
.modal-title {
  font-size: 20px;
  font-weight: 600;
}

/* Modal Shadow */
.modal-content {
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}













