* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::selection {
  background-color: darkgreen;
  color: white;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

#Logo {
  margin: 0px 0px 0px 20px;
  width: 60px;
  height: auto;
}

.navbar {
  border-bottom: 0.2px solid black;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  /* -webkit-backdrop-filter: blur(10px); */
  /* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); */
  /* background-color: #f5f5f5; */
  color: #c7c2c2;
  position: relative;
}

.down-arrow-key {
  font-size: 10px;
  font-weight: 10;
}

.navbar .logo {
  position: absolute;
  font-size: 22px;
  font-weight: bold;
}

.nav-items {
  transition: 0.2s ease-in-out;

  padding: 15px 0px 8px 0px;
  display: flex;
  list-style: none;
  justify-content: center;
}

.nav-items li {
  position: relative;
}

.nav-items a {
  border-radius: 20px;
  transition: 0.3s ease-in-out;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: rgb(21, 18, 18);
  text-decoration: none;
  padding: 10px 15px;
  display: block;
}

.nav-items a:hover {
  transition: 0.3s ease-in-out;
  background-color: #5cdd24a7;
}

.dropdown {
  padding: 5px;
  border-radius: 10px;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgb(255, 255, 255);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  z-index: 10;
}

.dropdown a {
  transition: 0.2s ease-in-out;
  margin: 5px 0px;
  border-radius: 10px;
  border: 1px solid #ffffff;
}

.nav-items li:hover .dropdown {
  display: block;
}

.hamburger {
  padding: 40px 0px 0px 20px;
  position: absolute;
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: rgb(108 255 104);
}

/* ======================= Nav bar end ====================== */

/* ======================= Form and Pic Box start  (Second Box ) ====================== */

.FormAndPic {
  height: 100%;
  padding: 10px;
  background-color: #0f3e0d;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.heading {
  font-size: 20px;
  line-height: 48px;
}

.h1-switch-solor {
  width: 100%;
  color: rgb(255, 255, 255);
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 40px;
}

.Para-switch-to-solor {
  line-height: 10px;
  color: #0dd614;
}

.h1-in-para-watiching {
  color: white;
}

.headingAndPic {
  margin: 5px 0px 0px 0px;
  width: 40%;
}

.Pic {
  border-radius: 20px;
  padding: 0px 0px 0px 0px;
  width: 120%;
  height: 60vh;
}

#pics {
  object-fit: cover;
  box-shadow: 0px 4px 20px 0px black;
  width: 99%;
  height: 99%;
  border-radius: 20px;
}

#pics:hover {
  box-shadow: 1px 0px 20px 5px #f3e5e5;
  transition: 0.5s ease-in-out;
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.formBox {
  margin: 20px 0px 20px 0px;
  box-shadow: 0px 4px 20px 0px rgb(153, 147, 147);
  border-radius: 20px;
  line-height: 1.8rem;
  width: 32%;
  overflow: scroll;
  padding: 20px;
  background-color: rgb(238, 237, 237);
}

.formBox:hover {
  color: darkgreen;
  transition: 1s ease-in-out;
  box-shadow: 1px 0px 20px 5px #f3e5e5;
}

.forminput-box {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.input1 {
  font-weight: 500;
  font-size: 16px;
  border: 1px solid rgb(158, 149, 149);
  background-color: transparent;
  border-radius: 10px;
  margin: 10px;
  width: 100%;
  height: 100%;
  padding: 10px 15px;
}

.bill-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0;
}

.bill-btn {
  background-color: #eee;
  border: 1px solid #ccc;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 500;
}

.bill-btn.selected {
  background-color: #0d5b10;
  color: #fff;
  border: 1px solid #0d5b10;
}

#sumbit,
#reset {
  cursor: pointer;
  margin-top: 5px;
  background-color: #0d5b10;
  color: white;
  font-size: 0.9rem;
  border-radius: 20px;
  padding: 10px;
  width: 100%;
}

/* ======================= Form and Pic Box End  (Second Box ) ====================== */

/* ======================== Google Rating Box start ============================= */
.google-rating {
  margin: 20px 0px 20px 0px;
  box-shadow: 0px 4px 20px 0px rgba(46, 45, 45, 0.826);
  border-bottom: 2px solid rgb(84, 82, 82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 0px 25px 0px;
}

.rating-persion {
  margin: 0px 50px 0px 0px;
  display: flex;
  border-radius: 20px;
}

.img-persion1 {
  position: absolute;
  z-index: 1;
  margin: 0px -80px;
}

.img-persion2 {
  z-index: 1;
  position: absolute;
  margin: 0px -40px;
}

.img-persion3 {
  z-index: 1;
  position: absolute;
  margin: 0px -1px;
}

#image-rating-persion {
  width: 60px;
  gap: 10px;
  border: 4px solid rgb(40, 122, 2);
  border-radius: 30px;
}

.rating-text-starts {
  justify-content: center;
  margin-top: 40px;
  padding: 0px 0px 0px 20px;
  font-size: 22px;
  line-height: 30px;
}

.Rating-stars {
  color: rgb(253, 168, 21);
}

/* ======================== Google Rating Box end ================================ */

/*  ======================== Why Thousands of Families Trust SolarSquare Box Start ========================  */

.Families-trust {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  margin: 20px 0px 0px 0px;
  padding: 40px 0px;
  text-align: center;
  justify-content: center;
}

.Experiences-Box {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
}

.Experiences {
  margin: 80px 0px 0px 0px;
  line-height: 32px;
}

.h2-Experience {
  font-size: 26px;
  font-weight: 800px;
}

/*  ======================== Why Thousands of Families Trust SolarSquare Box End ========================  */

/* ========================= Why choose Nexgen Solar Start box ================================================== */

.why-choose-nexgen {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  margin: 40px 0px 0px 0px;
  padding: 40px 0px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.why-choose-h1-p {
  line-height: 40px;
}

.why-choose-image-div {
  background-color: #0dd614;
  width: 400px;
  height: 250px;
  border-radius: 22px;
}

#why-choose-img {
  box-shadow: 0px 4px 20px 0px black;
  border-radius: 22px;
  object-fit: cover;
  height: 100%;
  width: 100%;
}

/* ========================= Why choose Nexgen Solar End box ================================================== */

/* =================================== Salary system size start ============================================================= */
.Salary-system-size-Box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
  margin-top: 50px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.salary-table-wrapper {
  overflow-x: auto;
  max-width: 100%;
}

.salary-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
  box-shadow: inset -11px 20px 10pc 12px #187604d6;
}

.salary-table thead {
  background-color: #e8b65b;
}

.salary-table th,
.salary-table td {
  text-align: center;
  padding: 12px 10px;
  border: 1px solid #ddd;
  font-size: 15px;
  font-weight: 800;
}
.salary-table tr {
  color: #0d5b10;
  background-color: rgba(2, 96, 11, 0.177);
}
.salary-table-h2 {
  margin: 0px 0px 15px 0px;
  font-size: 1.5rem;
  color: #049009;
  text-align: center;
}

.td-text-color {
  color: rgb(198, 139, 13);
}

.salary-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.salary-table tr:hover {
  background-color: #d3d3d3;
}

.salary-system-image-box {
  background-color: #0dd614;
  width: 60%;
  height: 435px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#salary-system-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0px 4px 20px 0px black;
}

/* =================================== Salary system size End ============================================================= */

/* ================================== Roi box start========================  */
.Roi-box {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  padding: 40px 0px;
  margin: 30px 0px 0px 0px;
  display: flex;
  justify-content: space-evenly;
}

.Roi-benifit {
  line-height: 40px;
}

.Roi-images {
  align-items: end;
}

.Roi-img-type-box1 {
  border-radius: 20px;
  text-align: center;
  align-items: center;
  justify-content: center;
  height: 20vh;
  width: 20vw;
  background-color: #adc0ae;
}

.Roi-img-type-box2 {
  border-radius: 20px;
  margin: 50px 0px 0px 0px;
  text-align: center;
  align-items: center;
  justify-content: center;
  height: 20vh;
  width: 20vw;
  background-color: #adc0ae;
}

#Roi-img-style {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================== Roi box End========================  */

/* ========================= Footer css  start =============================== */
footer {
  margin: 50px 0px 0px 0px;
  background-color: #222;
  color: #fff;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-section {
  line-height: 30px;
  flex: 1 1 250px;
  margin: 5px;
}

.footer-left img {
  width: 150px;
  margin-bottom: 15px;
}

.footer-left p {
  margin: 5px 0;
  font-size: 14px;
}

.footer-center h3 {
  margin-bottom: 15px;
  font-size: 25px;
  border-bottom: 2px solid #555;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-center ul {
  list-style: none;
  padding: 0;
}

.footer-center ul li {
  margin: 6px 0;
  font-size: 14px;
}

.footer-center ul li a:hover {
  transition: 0.4s ease-in-out;
  color: green;
}

.footer-center ul li a {
  text-decoration: none;
  color: white;
  margin: 6px 0;
  font-size: 14px;
}

.footer-solutions {
  display: flex;
  gap: 40px;
}

.footer-right address {
  font-style: italic;
  font-size: 15px;
  line-height: 2;
}

.social-icons {
  text-align: center;
  margin-top: 30px;
}

.social-icons a {
  color: #fff;
  margin: 0 10px;
  font-size: 20px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #1da1f2;
}

/* ========================= Footer css  End =============================== */

/* ========================== Mobile Styles ============================= */
@media (max-width: 1030px) {
  /* ======================= Nav bar start ====================== */
  #Logo {
    position: absolute;
    display: flex;
    margin: 0px 92vw;
    width: 60px;
    height: auto;
  }

  .navbar {
    transition: all 0.5s ease;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .hamburger {
    color: white;
    display: flex;
  }

  .nav-items {
    transition: all 0.5s ease;
    flex-direction: column;
    width: 100%;
    display: none;
    background-color: #f5f5f5;
  }

  .nav-items.show {
    padding: 35px;
    transition: all 0.5s ease;
    display: flex;
  }

  .nav-items li:hover .dropdown {
    transition: all 0.5s ease;
    position: relative;
    top: 0;
    min-width: 100%;
  }

  .dropdown a {
    transition: all 0.5s ease;
    padding-left: 30px;
  }

  /* =======================media query Form and Pic Box start  (Second Box ) ====================== */

  .FormAndPic {
    height: 200vh;
    padding: 10px;
    background-color: #0d5b10;
    display: flex;
    flex-direction: column;
  }

  .h1-switch-solor {
    padding-top: 35px;
    font-size: 25px;
  }
  .headingAndPic {
    width: 95%;
  }

  .formBox {
    border-radius: 20px;
    line-height: 2.1rem;
    width: 95%;
    padding: 50px;
    background-color: rgb(238, 237, 237);
  }

  .Pic {
    padding: 10px;
    width: 100%;
  }

  /* ===================== why choose Nexgen start ========================= */

  .why-choose-nexgen {
    margin: 40px 0px 0px 0px;
    display: flex;
    flex-direction: column;
  }

  .why-choose-image-div {
    max-width: 500px;
    margin: 50px 0px 0px 0px;
    width: 100%;
    height: auto;
    border-radius: 22px;
  }

  table {
    margin: 10px 0px 60px 0px;
    height: 238px;
    width: 155%;
  }

  .salary-system-image-box {
    width: 60%;
    height: 300px;
  }

  .Roi-box {
    align-content: stretch;
    align-items: center;
  }
}

/* ====================== Footer Mediaquery css Responsive start =========================== */
@media (max-width: 768px) {
  #Logo {
    margin: 0px 88vw;
  }

  .salary-table {
    min-width: 100%;
  }

  .salary-system-image-box {
    width: 100%;
    height: auto;
    max-width: 500px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-solutions {
    flex-direction: column;
    gap: 20px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    margin-bottom: 20px;
  }

  /* ====================== Footer Mediaquery css Responsive End =========================== */

  /* ========================Google Rating section start ==================== */

  .rating-text-starts {
    font-size: 15px;
    line-height: 22px;
  }

  #image-rating-persion {
    width: 50px;
  }

  .Families-trust {
    margin: 20px 0px 0px 0px;
    padding: 40px 30px;
  }

  .why-choose-nexgen {
    padding: 30px;
  }

  .Roi-img-type-box1 {
    height: 30vh;
    width: 60vw;
  }

  /* .Roi-img-type-box2 {
    border-radius: 20px;
    height: 30vh;
    width: 30vw;
  } */
  .Roi-img-type-box2 {
    border-radius: 20px;
    /* height: 30vh; */
    width: 60vw;
  }

  .Roi-box {
    gap: 30px;
    padding: 10px;
    flex-direction: column;
  }
}

@media (max-width: 650px) {
  #Logo {
    margin: -0px 80vw;
  }

  h1 {
    font-size: 2rem;
  }

  .google-rating {
    padding: 0px 0px 23px 80px;
  }

  .h1-switch-solor {
    font-size: 25px;
  }

  .h1-in-para-watiching {
    font-size: 1rem;
  }

  #image-rating-persion {
    width: 40px;
  }

  .rating-text-starts {
    font-size: 1rem;
    line-height: 30px;
  }

  .Experiences-Box {
    flex-direction: column;
  }
}

/* ======================================================= */

@media (max-width: 350px) {
  h1 {
    font-size: 2rem;
  }

  .rating-text-starts {
    font-size: 0.6rem;
    line-height: 30px;
  }
}
