/********** Template CSS **********/
:root {
  --primary: #169545;
  --secondary: #9B9B9B;
  --light: #F5F5F5;
  --dark: #161616;
}

.fw-medium {
  font-weight: 500 !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.fw-black {
  font-weight: 900 !important;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}


/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}


/*** Button ***/
.btn {
  font-weight: 500;
  transition: .5s;
}

.btn.btn-primary {
  color: #FFFFFF;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

/*** Navbar ***/
/* .navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 60px;
    padding: 25px 0;
    color: gray;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: green;
}



.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
} */

/* .navbar .btn:hover {
    color: #FFFFFF !important;
    background: var(--primary) !important;
} */


/*** Header ***/
.header-carousel .carousel-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  /* background: rgba(22, 22, 22, .7); */
}

@media (max-width: 768px) {
  .header-carousel .owl-carousel-item {
    position: relative;
    min-height: 500px;
  }

  .header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .header-carousel .owl-carousel-item h5,
  .header-carousel .owl-carousel-item p {
    font-size: 14px !important;
    font-weight: 400 !important;
  }

  .header-carousel .owl-carousel-item h1 {
    font-size: 30px;
    font-weight: 600;
  }
}

.header-carousel .owl-nav {
  position: absolute;
  width: 200px;
  height: 45px;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: transparent;
  border: 1px solid #FFFFFF;
  border-radius: 45px;
  font-size: 22px;
  transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.header-carousel .owl-dots {
  position: absolute;
  height: 45px;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  background: transparent;
  border: 1px solid #FFFFFF;
  border-radius: 15px;
  transition: .5s;
}

.header-carousel .owl-dot::after {
  position: absolute;
  content: "";
  width: 5px;
  height: 5px;
  top: 4px;
  left: 4px;
  background: #FFFFFF;
  border-radius: 5px;
}

.header-carousel .owl-dot.active {
  background: var(--primary);
  border-color: var(--primary);
}

.page-header {
  background: url(../img/slider.jpg) center center no-repeat;
  background-size: cover;
  height: 80vh;
}


.breadcrumb-item+.breadcrumb-item::before {
  color: var(--light);
}


/*** About ***/
@media (min-width: 992px) {
  .container.about {
    max-width: 100% !important;
  }

  .about-text {
    padding-right: calc(((100% - 960px) / 2) + .75rem);
  }
}

@media (min-width: 1200px) {
  .about-text {
    padding-right: calc(((100% - 1140px) / 2) + .75rem);
  }
}

@media (min-width: 1400px) {
  .about-text {
    padding-right: calc(((100% - 1320px) / 2) + .75rem);
  }
}


/*** Service ***/
.service-row {
  box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-item {
  border-color: rgba(0, 0, 0, .03) !important;
}

.service-item .btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  color: #FFFFFF;
  background: var(--primary);
  border-radius: 38px;
  white-space: nowrap;
  overflow: hidden;
  transition: .5s;
}

.service-item:hover .btn {
  width: 140px;
}


/*** Feature ***/
@media (min-width: 992px) {
  .container.feature {
    max-width: 100% !important;
  }

  .feature-text {
    padding-left: calc(((100% - 960px) / 2) + .75rem);
  }
}

@media (min-width: 1200px) {
  .feature-text {
    padding-left: calc(((100% - 1140px) / 2) + .75rem);
  }
}

@media (min-width: 1400px) {
  .feature-text {
    padding-left: calc(((100% - 1320px) / 2) + .75rem);
  }
}


/*** Project Portfolio ***/
#portfolio-flters li {
  display: inline-block;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  transition: .5s;
  border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
  color: var(--primary);
  border-color: var(--primary);
}

.portfolio-inner {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.portfolio-inner img {
  transition: .5s;
}

.portfolio-inner:hover img {
  transform: scale(1.1);
}

.portfolio-inner .portfolio-text {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: -50px;
  opacity: 0;
  transition: .5s;
}

.portfolio-inner:hover .portfolio-text {
  bottom: 0;
  opacity: 1;
}



/* '''''''''''''added text '''''''''''*/
/* Fix portfolio image display */
.portfolio-inner img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* Prevent layout breaking */
.portfolio-inner {
  position: relative;
  overflow: hidden;
}

/* Ensure isotope items align correctly */
.portfolio-item {
  margin-bottom: 30px;
}


/*** Quote ***/
@media (min-width: 992px) {
  .container.quote {
    max-width: 100% !important;
  }

  .quote-text {
    padding-right: calc(((100% - 960px) / 2) + .75rem);
  }
}

@media (min-width: 1200px) {
  .quote-text {
    padding-right: calc(((100% - 1140px) / 2) + .75rem);
  }
}

@media (min-width: 1400px) {
  .quote-text {
    padding-right: calc(((100% - 1320px) / 2) + .75rem);
  }
}


/*** Team ***/
.team-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team-item img {
  transition: .5s;
}

.team-item:hover img {
  transform: scale(1.1);
}

.team-item .team-social {
  position: absolute;
  width: 0;
  height: 0;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 22, 22, .7);
  opacity: 0;
  transition: .5s;
}

.team-item:hover .team-social {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 1;
}

.team-item .team-social .btn {
  opacity: 0;
}

.team-item:hover .team-social .btn {
  opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel {
  display: flex !important;
  flex-direction: column-reverse;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-carousel .owl-dots {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 5px;
  transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
  width: 100px;
  height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
  position: absolute;
  width: 40px;
  height: 40px;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  content: "\f10d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--primary);
  background: #FFFFFF;
  border-radius: 40px;
  transition: .5s;
  opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
  opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
  border-radius: 60px;
  opacity: .4;
  transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
  opacity: 1;
}


/*** Contact ***/
@media (min-width: 992px) {
  .container.contact {
    max-width: 100% !important;
  }

  .contact-text {
    padding-left: calc(((100% - 960px) / 2) + .75rem);
  }
}

@media (min-width: 1200px) {
  .contact-text {
    padding-left: calc(((100% - 1140px) / 2) + .75rem);
  }
}

@media (min-width: 1400px) {
  .contact-text {
    padding-left: calc(((100% - 1320px) / 2) + .75rem);
  }
}


/*** Footer ***/
.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: var(--secondary);
  font-weight: normal;
  text-transform: capitalize;
  transition: .3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--primary);
  letter-spacing: 1px;
  box-shadow: none;
}

/* .ftext{
  color: gray;
} */

.logo1 {
  width: 50px;
  height: 40px;
}

.text-color {
  color: #166B36;
}

.text {

  background: linear-gradient(to left, #7ae6a1, #166B36);
  -webkit-background-clip: text;
  color: transparent;
}

.btn1 {
  background-image: linear-gradient(to right, #169E48, #166B36);
  color: white;
}

.btn1:hover {
  background-image: linear-gradient(to right, #84e7a8, #84e7a8);

  /* background-color: white; */
  color: #166B36;
}

.button {
  background-color: #169545;
  color: white;
}

.hrline {
  width: 100%;
}

.line {
  margin-left: -50px;
}

.text1 {
  text-align: right;
}

@media only screen and (max-width: 768px) {


  .line {
    margin-left: 30px;
    margin-top: -120px;
    font-size: 12px;
  }

  .text1 {
    text-align: center;
  }


}

.p1 {
  font-size: 56px;
}

#blinking-button {
  padding: 13px 40px;
  border-radius: 30px;
  border: 0px solid #6C8003;
}

@keyframes blink {

  0%,
  100% {
    background-color: #84e7a8
  }

  50% {
    background-color: #166B36;
  }


}

#blinking-button {
  background-color: #8EDDBE;
  color: white;
  animation: blink 1.5s linear infinite;
}

.typing-demo {
  width: 63ch;
  animation: typing 5s steps(63), blink2 .5s step-end infinite alternate;
  white-space: nowrap;
  overflow: hidden;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 2em;
}

@keyframes typing {
  from {
    width: 0
  }
}

@keyframes blink2 {
  50% {
    border-color: transparent
  }
}

.blink_me {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}




@keyframes slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 60px 0;
  background: white;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: inline-block;
  animation: 35s slide infinite linear;
}

.logos-slide img {
  height: 50px;
  margin: 0 40px;
}

.b2 {
  border: 1px solid green;
  padding: 15px 22px;
  text-align: center;
  padding-top: 20px;
  border-radius: 10px;
  background-color: rgb(250, 250, 250);
}

.imglogo {
  width: 30px;
  height: 30px;

}

.logotext {
  color: rgb(148, 148, 148);
}

.con-img {
  border: 1px solid gray;
  height: 305px;
}

.lwt {
  padding: 10px 20px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  /* padding: 10px 60px; */
  color: #166B36;
  background-color: white;
  border: 2px solid #166B36;
  box-shadow: 5px 5px;

}

.lwt:hover {
  color: white;
  background-color: #166B36;

}


.cardt:hover {
  background-color: #16A34A;
  color: white;
}

.cardt h6:hover {
  color: white;
}

.textborder {
  border-bottom: 2px solid #166B36;
  margin-top: 30px;
  /* font-size: 20px; */
  padding: 3px;
  display: inline-block;
}

.new {
  margin-right: 100px;
  width: 250px;

}

.newpic {
  width: 100px;
  height: 100px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.idiv {
  background-color: #f3f3f3;
  display: inline-block;
  border-top: 1px solid green;
  box-shadow: 5px 5px;
}


/* '''''''''''''''before''''''''''' */
/* .projectimg {
  width: 500px;
  height: 400px;
} */

/*''''''''''' after''''''''''''' */
.projectimg {
  width: 100%;
  height: auto;
}


/* Style tab links */

.tablink {
  background-color: #f3f3f3;
  color: #16A34A;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 5px 5px;
  font-size: 17px;
  width: 16.667%;
  border-left: 1px solid green;
}

.tablink:hover {
  /* background-color:#16A34A; */
  color: black;
}

/* Style the tab content (and add height:100% for full page content) */
.tabcontent {
  color: white;
  display: none;
  padding: 100px 20px;
  height: 100%;
}

#Home {
  background-color: #f3f3f3;
}

#News {
  background-color: #f3f3f3;
}

#Contact {
  background-color: #f3f3f3;
}

#About {
  background-color: #f3f3f3;
}

#new {
  background-color: #f3f3f3;
}

#data {
  background-color: #f3f3f3;
}


.newbtn {
  padding: 10px 60px;
  color: #166B36;
  background-color: white;
  border: 2px solid #166B36;
  box-shadow: 5px 5px;

}

.newbtn:hover {
  color: white;
  background-color: #166B36
}

.htext {
  font-size: 36px;
  color: black;
  margin-top: 50px;
  margin-bottom: 50px;
}

.hline {
  height: 2px;
  color: black
}



/* filp card start */
.flip-card {
  background-color: transparent;
  width: 350px;
  height: 300px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {
  background-color: white;
  color: rgb(0, 0, 0);
}

.flip-card-back {
  background-color: #16A34A;
  color: white;
  transform: rotateY(180deg);
}



/* filp card end */



/* bolg card */

.c1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin-block: 2rem;
  gap: 2rem;
}

.img1 {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.card1 {
  display: flex;
  flex-direction: column;
  width: clamp(20rem, calc(20rem + 2vw), 22rem);
  overflow: hidden;
  box-shadow: 0 .1rem 1rem rgba(0, 0, 0, 0.1);

  background: #ECE9E6;
  background: linear-gradient(to right, #FFFFFF, #ECE9E6);

}



.card__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}


.tag {
  align-self: flex-start;
  padding: .25em .75em;
  border-radius: 1em;
  font-size: .75rem;
}

.tag+.tag {
  margin-left: .5em;
}

.tag-blue {
  background: #166B36;
  background: linear-gradient(to bottom, #395a46, #166B36);
  color: #fafafa;
}


.card__body h4 {
  font-size: 1.5rem;
  text-transform: capitalize;
}


/* blog card */
.btn2 {
  margin-top: 4px;
  padding: 7px 17px;
  border: none;
}









@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

nav {
  position: fixed;
  z-index: 99;
  width: 100%;
  background: #ffffff;
}

nav .wrapper {
  position: relative;
  max-width: 1300px;
  padding: 0px 30px;
  height: 70px;
  line-height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wrapper .logo a {
  color: #000000;
  font-size: 30px;
  font-weight: 600;
  text-decoration: none;
}

.wrapper .nav-links {
  display: inline-flex;
}

.nav-links li {
  list-style: none;
}

.nav-links li a {
  color: gray;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 9px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-links li a:hover {
  color: green;
}

.nav-links .mobile-item {
  display: none;
}

.nav-links .drop-menu {
  position: absolute;
  background: #ffffff;
  width: 180px;
  line-height: 45px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box {
  transition: all 0.3s ease;
  top: 50px;
  opacity: 1;
  visibility: visible;
}

.drop-menu li a {
  width: 100%;
  display: block;
  padding: 0 0 0 15px;
  font-weight: 400;
  border-radius: 0px;
}

.mega-box {
  position: absolute;
  left: 0;
  width: 100%;
  padding: 0 30px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
}

.mega-box .content {
  background: #ffffff;
  padding: 25px 20px;
  display: flex;
  width: 100%;
  justify-content: space-between;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.mega-box .content .row {
  width: 30%;
  line-height: 45px;
}

.content .row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content .row header {
  color: #000000;
  font-size: 20px;
  font-weight: 500;
}

.content .row .mega-links {
  margin-left: -40px;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.row .mega-links li {
  padding: 0 20px;
}

.row .mega-links li a {
  padding: 0px;
  padding: 0 20px;
  color: gray;
  font-size: 17px;
  display: block;
}

.row .mega-links li a:hover {
  color: green;
}

.wrapper .btn {
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;
}

.wrapper .btn.close-btn {
  position: absolute;
  right: 30px;
  top: 10px;
}

@media screen and (max-width: 970px) {
  .wrapper .btn {
    display: block;
  }

  .wrapper .nav-links {
    position: fixed;
    height: 100vh;
    width: 100%;
    max-width: 350px;
    top: 0;
    left: -100%;
    background: #242526;
    display: block;
    padding: 50px 10px;
    line-height: 50px;
    overflow-y: auto;
    box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
  }

  /* custom scroll bar */
  ::-webkit-scrollbar {
    width: 10px;
  }

  ::-webkit-scrollbar-track {
    background: #ffffff;
  }

  ::-webkit-scrollbar-thumb {
    background: #ffffff;
  }

  #menu-btn:checked~.nav-links {
    left: 0%;
  }

  #menu-btn:checked~.btn.menu-btn {
    display: none;
  }

  #close-btn:checked~.btn.menu-btn {
    display: block;
  }

  .nav-links li {
    margin: 15px 10px;
  }

  .nav-links li a {
    padding: 0 20px;
    display: block;
    font-size: 20px;
  }

  .nav-links .drop-menu {
    position: static;
    opacity: 1;
    top: 65px;
    visibility: visible;
    padding-left: 20px;
    width: 100%;
    max-height: 0px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
  }

  #showDrop:checked~.drop-menu,
  #showMega:checked~.mega-box {
    max-height: 100%;
  }

  .nav-links .desktop-item {
    display: none;
  }

  .nav-links .mobile-item {
    display: block;
    color: #000000;
    font-size: 20px;
    font-weight: 500;
    padding-left: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
  }

  .nav-links .mobile-item:hover {
    color: green;
  }

  .drop-menu li {
    margin: 0;
  }

  .drop-menu li a {
    border-radius: 5px;
    font-size: 18px;
  }

  .mega-box {
    position: static;
    top: 65px;
    opacity: 1;
    visibility: visible;
    padding: 0 20px;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .mega-box .content {
    box-shadow: none;
    flex-direction: column;
    padding: 20px 20px 0 20px;
  }

  .mega-box .content .row {
    width: 100%;
    margin-bottom: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mega-box .content .row:nth-child(1),
  .mega-box .content .row:nth-child(2) {
    border-top: 0px;
  }

  .content .row .mega-links {
    border-left: 0px;
    padding-left: 15px;
  }

  .row .mega-links li {
    margin: 0;
  }

  .content .row header {
    font-size: 19px;
  }
}

nav input {
  display: none;
}

.body-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  padding: 0 30px;
}

.body-text div {
  font-size: 45px;
  font-weight: 600;
}


.portfolio-inner img { display:block; width:100%; height:auto; }




















/* ================= Fully Responsive Cards ================= */

/* ================== Tablet & Mobile General ================== */
@media (max-width: 992px) {
  /* Service Items */
  .service-row {
    flex-direction: column;
    gap: 20px;
  }

  .service-item {
    width: 100%;
    margin-bottom: 20px;
  }

  /* Team Items */
  .team-item {
    width: 100%;
    margin-bottom: 20px;
  }

  .team-item img {
    width: 100%;
    height: auto;
  }

  .team-item .team-social {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }

  /* Testimonial Carousel */
  .testimonial-carousel {
    flex-direction: column;
    max-width: 100%;
    margin: 0 auto;
  }

  .testimonial-carousel .owl-dots {
    justify-content: center;
    flex-wrap: wrap;
  }

  .testimonial-carousel .owl-dots .owl-dot {
    width: 50px;
    height: 50px;
    margin: 5px;
  }

  .testimonial-carousel .owl-dots .owl-dot.active {
    width: 80px;
    height: 80px;
  }

  /* Blog Cards */
  .c1 {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .card1 {
    width: 100%;
  }

  /* Flip Cards */
  .flip-card {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .flip-card-inner {
    height: 100%;
  }

  /* Portfolio Cards */
  .portfolio-inner {
    height: auto;
    width: 100%;
  }

  .portfolio-inner img {
    height: auto;
  }

  .portfolio-item {
    margin-bottom: 20px;
  }
}

/* ================== Small Mobile Screens ================== */
@media (max-width: 768px) {
  /* Reduce padding/margins for small devices */
  .service-item,
  .team-item,
  .portfolio-item,
  .card1,
  .flip-card {
    padding: 0;
    margin: 0 auto 15px auto;
  }

  /* Service Item Button */
  .service-item .btn {
    width: 100%;
    text-align: center;
  }

  /* Team Social Buttons */
  .team-item .team-social .btn {
    opacity: 1;
    margin: 5px;
  }

  /* Testimonial Carousel Dots */
  .testimonial-carousel .owl-dots .owl-dot::after {
    width: 30px;
    height: 30px;
    bottom: -15px;
    border-radius: 30px;
  }

  .testimonial-carousel .owl-dots .owl-dot img {
    width: 40px;
    height: 40px;
  }

  .testimonial-carousel .owl-dots .owl-dot.active::after {
    width: 50px;
    height: 50px;
  }

  /* Flip Card Height */
  .flip-card {
    height: 220px;
  }

  /* Portfolio Images */
  .portfolio-inner img {
    height: 150px;
  }

  
}



/* ================== Prevent Horizontal Scroll ================== */
/* body, html {
  overflow-x: hidden;
} */


/* avoids momentary collapse */








