/* =========================
   PROJECT GRID RESPONSIVE
========================= */

@media screen and (min-width: 800px) {
  .project-img {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

@media screen and (max-width: 800px) {
  .project-img {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
}

/* =========================
   IMAGES
========================= */

.project-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-img img:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* =========================
   BOX SYSTEM (FIXED)
========================= */

.box {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.box img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: 0.5s ease;
}

/* Hover zoom */
.box:hover img {
  transform: scale(1.1);
}

/* =========================
   TEXT OVER IMAGE
========================= */

.text1 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 12px;
  transition: 0.3s ease;
}

.box:hover .text1 {
  padding-bottom: 20px;
}

/* =========================
   GENERAL IMAGE FIX
========================= */

.img-fluid {
  width: 100%;
  height: 100%;
}

/* =========================
   PROJECT CONTAINER
========================= */

.projects-thumb {
  width: 100%;
  height: 100%;
}

/* =========================
   CONTACT BOX
========================= */

.contact-box {
  max-width: 900px;
  margin: 50px auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  background: #fff;
  position: relative;
}

.contact-box iframe {
  width: 100%;
  height: 620px;
  border: none;
  display: block;
}

.contact-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: #fff;
}

/* MOBILE CONTACT FIX */
@media (max-width: 768px) {
  .contact-box iframe {
    height: 540px;
  }

  .contact-box::after {
    height: 100px;
  }
}

/* =========================
   LARGE SCREEN FIX
========================= */

@media (min-width: 1400px) {
  nav .container {
    max-width: 1920px;
  }
}

/* =========================
   MOBILE GLOBAL FIX
========================= */

@media (max-width: 800px) {

  * {
    margin: 0;
    padding: 0;
    border: 0;
  }

  .projects-thumb {
    margin: 0;
  }

  .box {
    width: 100%;
  }

  .carousel-item,
  .carousel-inner {
    height: 100vh;
    margin-bottom: 10%;
  }
}

/* =========================
   DESKTOP ADJUSTMENTS
========================= */

@media (min-width: 900px) {

  #pic004,
  #pic005,
  #pic006 {
    margin-top: 5%;
  }

  #pic03 {
    margin-right: 25%;
  }

  #pic01 {
    margin-left: 25%;
    margin-right: 25%;
  }

  #pic02 {
    margin-left: 35%;
  }
}

/* =========================
   NATIONAL COMPANY IMAGE
========================= */

#nationalcompany {
  width: 100%;
}

/* =========================
   HOVER EFFECTS
========================= */

.navbar-brand:hover {
  color: #fff;
}

ul li:hover,
p:hover,
h2:hover,
h3:hover,
h4:hover,
h5:hover,
span:hover {
  transition: background-color 0.3s ease;
  background-color: #7597af;
  color: #fff;
}

/* =========================
   LOGO
========================= */

.logo-img {
  width: 5%;
}

@media (max-width: 800px) {
  .logo-img {
    width: 10%;
  }

  .navbar-brand {
    font-size: large;
  }
  .box{
    width: 50%;
  }

  #pic01, #pic02, #pic03 {
  width: 100%;
  margin: 0;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}
img {
  max-width: 100%;
  height: auto;
}
* {
  box-sizing: border-box;
}

.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

}

@media (max-width: 800px) {
  .box, .projects-thumb {
    width: 100% !important;
    margin: 0 !important;
  }
  .custom-btn{
    width: 70%;
  }
  #hiddenbutton1{
    display: none;
  }
  #hiddenbutton2{
      display: none;
  }
  .about-image-wrap{
    margin-top: 20%;
    margin-bottom: 30%;

  }
  .about-info{
    margin-top: 20%;
    border: 0;
    padding: 0;
  }
    #aboutsection{
      margin-top: 20%;
    }  

  }



#section_2 , #section_1 {
    background: url('../img/prime\ logo\ pdf_page-0001.jpg') center center/cover no-repeat;
    background-attachment: fixed;
}





