body {
  background-color:#fafafa;
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
  font-family: "Poppins", sans-serif;
}

.primary_color{
  background-color:#8bc63e;
}


html {
    scroll-behavior: smooth;
  }

.logo_wrapper{
  padding:20px 0;
  display:grid;
  grid-template-columns:80% 20%;
}
.main_logo{
  display:grid;
  grid-template-columns:18% 82%;
}
.main_logo img{
  width:58px;
}
.main_logo p{
  margin:auto 0;
  font-size:2.1rem;
  font-weight:700;
}

.smenu{
  display:none;
  width:100%;
  height:100vh;
  position:fixed;
  z-index:100;
  top:0;
  background-color:rgb(0,0,0,0.8);
}
.smenu button{
  width:100%;
  border-top:none;
  background:none;
  color:#fafafa;
  font-size:1rem;
  padding:15px 0;
  border-bottom:1px solid #AAE856;
}

.smenu button:hover{
  cursor:pointer;
  color:#1073bc;
}

.bottom-shadow{
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

.hero_wrapper{
  height:450px;
  background-color:#E3F0FF;
  position:relative;
}

.hero{
  width:100%;
  position:absolute;
  bottom:20px;
  left:10px;
  text-align:left;
}

.hero h1{
  width:80%;
  font-size:2.2rem;
  line-height:1;
}

.hero p{
  width:75%;
  font-size:1rem;
  line-height:1.2;
  padding:15px 0;
  color:#212121;
}
.hero button{
  padding:10px 25px;
  font-size:1rem;
  background-color:#1073bc;
  color:#fafafa;
  border:none;
}
.hero button:hover{
  background-color:#8bc63e;
  color:#080808;
}


.heading_center{
  width:100%;
  padding:20px 0;
  text-align:center;
}
.heading_center h3{
  font-size:1rem;
  font-weight:400;
}
.heading_center h2{
  font-size:1.8rem;
  padding:5px 0;
  font-weight:800;
}
.heading_center p{
  width:90%;
  margin:0 auto;
  font-size:1rem;
  font-weight:400;
}

.services_grid{
    display: block;
}
.service_card{
  margin:20px 0;
}
.service_card h2{
  text-align:left;
  color:#fafafa;
}
.service_card p{
  text-align:left;
  color:#fafafa;
  padding:10px 0;
}
.service_img{
  width:100%;
  height:250px;
  background-size:cover;
  background-position:top;
}

.two_grid{
  width:95%;
  margin:0 auto;
  display:block;
  padding:30px 0;
}
.about{
  margin:auto auto;
}
.about h2{
  font-size:1.8rem;
}
.about p{
  width:100%;
  padding:20px 0;
  font-size:1.1rem;
}

.two_grid_2{
  width:100%;
  display:block;
  padding:0;
  z-index:300;
  position:relative;
}

.two_grid_2 h2{
  width:90%;
  margin:0 auto;
  text-align:left;
  color:#fafafa;
  font-size:2rem;
}
.two_grid_2 p{
  width:90%;
  margin:0 auto;
  text-align:left;
  color:#fafafa;
  font-size:1rem;
  padding:10px 0;
}
.two_grid_2 button{
  padding:15px 30px;
  font-size:1rem;
  background-color:#1073bc;
  color:#fafafa;
  border:1px solid #fafafa;
}
.two_grid_2 button:hover{
  background-color:#8bc63e;
}

.logo_row {
    width:95%;
    margin:0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-content: center;
}

.logo_item {
    height:120px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.logo_1 {
    background-image: url('../img/rpd_logo_1.png');
}

.logo_2 {
    background-image: url('../img/rpd_logo_2.png');
}

.logo_3 {
    background-image: url('../img/rpd_logo_3.png');
}

.logo_4 {
    background-image: url('../img/rpd_logo_4.png');
}

.logo_5 {
    background-image: url('../img/rpd_logo_5.png');
}

.logo_6 {
    background-image: url('../img/rpd_logo_6.png');
}

.logo_7 {
    background-image: url('../img/rpd_logo_7.png');
}

.footer-grid{
  display:block; 
  color: #fafafa; 
  padding: 40px 0; 
}
.footer-grid>div{
  margin:20px 0;
}

.footer-grid h2{
  font-size:1.5rem;
  text-align:left;
}
.footer-grid p{
  font-size:1rem;
  padding:10px 0;
  text-align:left;
}

.menu2{
  display:none;
}








 /* For desktop: */
@media only screen and (min-width: 768px) {

.menu{
  padding:20px 0;
  display: flex;
}

.menu button {
    flex: 1;
    background:none;
    border:none;
    color:#fafafa;
    transition: color 0.3s ease;
    font-size:1rem;
}

.menu button span{
    font-size:1.2rem;
    font-weight:700;
}

.menu button:hover{
   cursor:pointer;
   color:#1073bc;
}
.logo_wrapper{
  padding:20px 0;
  display:grid;
  grid-template-columns:40% 60%;
}

.main_logo{
  display:grid;
  grid-template-columns:15% 85%;
}
.main_logo img{
  width:70px;
}
.main_logo p{
  margin:auto 0;
  font-size:2.9rem;
  font-weight:700;
}

.main_logo_contact{
  text-align:right;
  display:grid;
  grid-template-columns:80% 20%;
}
.main_logo_contact button{
  padding:20px;
  margin:auto 0;
  font-size:1.2rem;
  border:none;
  transition: transform 0.2s ease;
}

.main_logo_contact button:hover{
    transform: scale(0.80);
}

.hero_wrapper{
  height:600px;
  background-color:#E3F0FF;
  position:relative;
}
.carousel{
  background-size:cover;
  background-position:top;
}
.hero{
  position:absolute;
  bottom:30px;
  left:10px;
  text-align:left;
}

.hero h1{
  font-size:3.2rem;
  line-height:1;
}

.hero p{
  width:75%;
  font-size:1.3rem;
  line-height:1.2;
  padding:15px 0;
  color:#212121;
}
.hero button{
  padding:15px 30px;
  font-size:1.2rem;
  background-color:#1073bc;
  color:#fafafa;
  border:none;
}
.hero button:hover{
  background-color:#8bc63e;
  color:#080808;
}

.heading_center{
  width:100%;
  padding:20px 0;
  text-align:center;
}
.heading_center h3{
  font-size:1rem;
  font-weight:400;
}
.heading_center h2{
  font-size:2.5rem;
  padding:5px 0;
  font-weight:800;
}
.heading_center p{
  width:70%;
  margin:0 auto;
  font-size:1.2rem;
  font-weight:400;
}

.services_grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.service_card h2{
  text-align:left;
  color:#fafafa;
}
.service_card p{
  text-align:left;
  color:#fafafa;
  padding:10px 0;
}
.service_img{
  width:100%;
  height:200px;
  background-size:cover;
  background-position:top;
}

.two_grid{
  width:95%;
  margin:0 auto;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  padding-top:50px;
  padding-bottom:0;
}
.about{
  margin:auto auto;
}
.about h2{
  font-size:2.2rem;
}
.about p{
  width:100%;
  padding:20px 0;
  font-size:1.2rem;
}

.two_grid_2{
  width:100%;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  padding:0;
  z-index:300;
  position:relative;
}

.two_grid_2 h2{
  width:90%;
  margin:0 auto;
  text-align:left;
  color:#fafafa;
  font-size:2.5rem;
}
.two_grid_2 p{
  width:90%;
  margin:0 auto;
  text-align:left;
  color:#fafafa;
  font-size:1.1rem;
  padding:10px 0;
}
.two_grid_2 button{
  padding:15px 30px;
  font-size:1.2rem;
  background-color:#1073bc;
  color:#fafafa;
  border:1px solid #fafafa;
}
.two_grid_2 button:hover{
  background-color:#8bc63e;
}

.logo_row {
    width:95%;
    margin:0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    justify-content: center;
}

.logo_item {
    height:120px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.logo_1 {
    background-image: url('../img/rpd_logo_1.png');
}

.logo_2 {
    background-image: url('../img/rpd_logo_2.png');
}

.logo_3 {
    background-image: url('../img/rpd_logo_3.png');
}

.logo_4 {
    background-image: url('../img/rpd_logo_4.png');
}

.logo_5 {
    background-image: url('../img/rpd_logo_5.png');
}

.logo_6 {
    background-image: url('../img/rpd_logo_6.png');
}

.logo_7 {
    background-image: url('../img/rpd_logo_7.png');
}

.footer-grid{
  display: grid; 
  grid-template-columns: 2fr repeat(3, 1fr); 
  gap: 10px; /* Adjust the spacing size as needed */
  color: #fafafa; 
  padding: 40px 0; 
}

.footer-grid h2{
  font-size:1.5rem;
  text-align:left;
}
.footer-grid p{
  font-size:1rem;
  padding:10px 0;
  text-align:left;
}

.menu2{
  padding:20px 0;
  display: flex;
}

.menu2 button {
    flex: 1;
    background:none;
    border:none;
    color:#fafafa;
    transition: color 0.3s ease;
    font-size:1rem;
}

.menu2 button span{
    font-size:1.2rem;
    font-weight:700;
}

.menu2 button:hover{
   cursor:pointer;
   color:#8bc63e;
}

}