@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;1,100;1,300;1,400;1,500&display=swap');

* {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}

@media (max-width: 992px) {
  .navbar-nav {
    background-color: transparent;
  }

  .navbar-collapse.show .navbar-nav {
    background-color: white;
  }

  .navbar-collapse.show .nav-link {
    color: #000;
  }
}

.navbar-brand:focus {
  border: none;
  box-shadow: none;
  outline: none;
}

.navbar-brand {
  margin-left: 2rem;
}

@media (max-width:667px) {
  .navbar-brand {
    margin-left: 0;
  }
}

.navbar.scrolled {
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);

  .nav-link {
    color: black;
  }

  .info_service_nav .nav-link {
    color: white !important;
  }

  .nav-link:focus {
    color: black !important;
  }
}

.navbar .nav-link:focus {
  color: white !important;
}

.info_service_nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.portfolio_navbar .nav_link_black:focus {
  color: black !important;
}

.logo-img {
  height: 3rem;
  width: auto;
}

.navbar-nav .nav-link {
  color: white;
  font-size: 1rem;
  transition: color 0.3s;
  font-weight: 500;
  cursor: pointer;
}


.nav_link_black {
  color: black !important;
}

@media (max-width: 992px) {
  .navbar-nav {
    background-color: transparent;
    transition: background-color 0.3s ease;
  }

  .navbar-collapse.show .navbar-nav {
    background-color: white;
    padding: 1rem;
    border-radius: 0.5rem;
  }

  .navbar-collapse.show .nav-link {
    color: #000;
  }
}

@media (max-width:1000px) {
  .navbar-nav .nav-link {
    font-size: 15px !important;
  }
}

.navbar ul {
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.navbar ul li {
  margin: 0 1.2rem;
}

.navbar ul li {
  font-size: 2rem;
  color: black;
}

.navbar-nav .nav-link:hover {
  color: #2f96fa;
}

.navbar .info_service_nav {
  background: #2f96fa;
  border-radius: 40px;
}

.navbar .info_service_nav a {
  margin: 0px 10px;
}

.navbar .info_service_nav:hover {

  a {
    color: white !important;
  }
}

.portfolio_navbar .info_service_nav {
  a {
    color: white !important;
  }
}

.portfolio_navbar .info_service_nav:hover {
  a {
    color: white !important;
  }
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.home {
  min-height: 100vh;
  width: 100%;
  background-image: url('../image/img1.jpg');
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  text-align: center;
  padding: 0 1rem;
  position: relative;
}

.home h1 {
  color: #fff;
  font-size: 5rem;
  width: 90%;
}

.home h2 {
  color: #fff;
  font-size: 2.5rem;
  padding-top: 10px;
}

.home .wave {
  position: absolute;
  bottom: -.5rem;
  left: 0;
  height: 11rem;
  width: 100%;
  background: url('../image/wave.png');
  background-size: 100rem 11rem;
  animation: waves 8s linear infinite;
  background-repeat: repeat-x;
  z-index: 1;
}

.home .wave2 {
  animation-direction: reverse;
  animation-duration: 6s;
  opacity: .3;
}

.home .wave3 {
  animation-duration: 4s;
  opacity: .5;
}

@keyframes waves {
  0% {
    background-position-x: 0;
  }

  100% {
    background-position-x: 100rem;
  }
}

@media (max-width:576px) {
  .home h1 {
    font-size: 40px !important;
    line-height: 55px !important;
    padding-top: 1rem;
    margin-bottom: 0 !important;
  }

  .home h2 {
    font-size: 30px !important;
    line-height: 40px !important;
    padding-top: 5px !important;
  }
}

@media (max-width: 1000px) {

  .home .wave,
  .home .wave2,
  .home .wave3 {
    height: 8rem;
    background-size: 100rem 8rem;
  }
}

@media (max-width: 800px) {

  .home .wave,
  .home .wave2,
  .home .wave3 {
    height: 6rem;
    background-size: 100rem 6rem;
  }
}

@media (max-width: 576px) {

  .home .wave,
  .home .wave2,
  .home .wave3 {
    height: 5rem;
    background-size: 100rem 5rem;
  }
}

@media (max-width: 400px) {

  .home .wave,
  .home .wave2,
  .home .wave3 {
    height: 4rem;
    background-size: 100rem 4rem;
  }
}

/* rounded small and big images */

.about-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(to top right, rgba(64, 138, 250, 0.15) 0%, transparent 50%),
    linear-gradient(to bottom left, rgba(248, 248, 248, 0.5) 0%, transparent 60%);
}

.rotating-images-container {
  position: relative;
  width: 400px;
  height: 300px;
  margin: 0 auto;
  z-index: 0;
}

.big-rotating-img {
  width: 400px;
  height: 400px;
  animation: rotateBig 30s linear infinite;
  position: absolute;
  z-index: 1;
  position: relative;
}

.small-rotating-img {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 0%;
  transform: translate(-50%, -50%);
  animation: rotateSmall 30s linear infinite reverse;
  z-index: 2;
  position: absolute;
}

.rotating-images-container {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.rotating-img {
  position: absolute;
  top: 50px !important;
  right: -50px;
  width: 300px;
  z-index: -1;
  animation: rotateSlow 10s linear infinite;
  transform-origin: center center !important;
}

@keyframes rotateSlow {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotateBig {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotateSmall {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* about content css */

.custom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  position: relative;
}

.main_about .img-small {
  height: 80%;
  object-fit: cover;
  border-radius: 20px;
  width: 80%;
}

.main_about .img-large {
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  width: 100%;
}

.main_about .img1 {
  transform: translateY(10px);
  margin-left: auto;
}

.main_about .img3 {
  transform: translateY(-50px);
}

.main_about .img4 {
  transform: translateY(0px);
  margin-right: auto !important;
}

.main_about {
  padding-top: 8rem;
  padding-bottom: 2rem;
}

.main_about .content-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-box h6 {
  color: #2f96fa;
}

.main_about .content-box h2 {
  font-size: 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.main_about .content-box p {
  font-size: 17px;
  line-height: 26px;
  color: grey;
  padding-right: 2rem;
}

/* media query for about page */
@media (max-width:1200px) {
  .custom-grid .img3 {
    transform: translateY(-35px);
  }

  .home h1 {
    font-size: 4rem;
    line-height: 5rem;
  }

  .home h2 {
    padding-top: 5px !important;
    font-size: 2rem;
  }
}

@media (max-width:990px) {
  .custom-grid {
    width: 90%;
    margin: auto;
  }
}

@media (max-width:767px) {

  .custom-grid .img3 {
    transform: translateY(-40px);
  }
}

@media (max-width: 500px) {
  .custom-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .custom-grid img {
    width: 80% !important;
    transform: none !important;
    margin: 0 auto !important;
  }

  .img1,
  .img3,
  .img4 {
    transform: none !important;
  }
}

/* service css */

.main_background_services {
  background:
    linear-gradient(to bottom right, rgba(64, 138, 250, 0.15) 0%, transparent 50%),
    linear-gradient(to top left, rgba(86, 122, 240, 0.15) 0%, transparent 60%);
}

.main_servicce {
  padding-top: 4rem;
  padding-bottom: 8rem;
}

.main_poprtfolio_section h6,
.main_contact h6,
.main_technologies h6,
.main_project_portfolio h6,
.main_servicce h6 {
  color: #2f96fa;
}

.main_poprtfolio_section h5,
.main_contact h5,
.main_technologies h5,
.main_project_portfolio h5,
.main_servicce h5 {
  font-size: 28px;
  line-height: 45px;
  padding-top: 12px;
}

.main_servicce p {
  color: gray;
  line-height: 35px;
  line-height: 25px !important;
}

.flip-card {
  background-color: transparent;
  width: 100%;
  height: 300px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  overflow: hidden;
}

.flip-card-front {
  background-color: #fff;
}

.flip-card-back {
  background-color: #2f96fa;
  color: white;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.flip-card-back p {
  color: rgb(231, 229, 229);
  font-size: 15px;
  line-height: 30px;
  padding: 1rem;
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  text-align: center;
  color: white;
  font-weight: 500;
  font-size: 1.1rem;
}

@media (max-width:992px) {
  .main_servicce .flip-card {
    width: 90%;
    margin: auto;
  }
}

/* working hours */
.main_working_hours {
  background-image: url('../image/bg_hour.svg');
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: #fff;
  padding: 40px 20px;
}

.main_working_hours .info_working_hour {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.main_working_hours .content .info_logo {
  font-size: 45px;
}

.main_working_hours .content h2 {
  padding-top: 10px;
  font-size: 45px;
}

.main_working_hours .content h6 {
  font-size: 20px;
  padding-top: 8px;
}

@media (max-width:992px) {
  .main_working_hours .content .info_logo {
    font-size: 30px;
  }

  .main_working_hours .content h2 {
    font-size: 30px;
  }

  .main_working_hours .content h6 {
    font-size: 16px;
  }
}

@media (max-width:576px) {
  .main_working_hours .content {
    padding-top: 30px;
  }
}

.main_background_portfolio {
  background:
    linear-gradient(to top left, rgba(82, 148, 247, 0.15) 0%, transparent 50%),
    linear-gradient(to bottom right, rgba(209, 220, 245, 0.5) 0%, transparent 40%);
  padding-top: 7rem;
  padding-bottom: 2rem;
  /* min-height: 100vh; */
}

.main_third_content {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.con_1 {
  font-size: 17px;
  font-weight: 600;
}

.para_ {
  font-size: 15.8px;
  text-align: left;
  margin-left: 1.4rem;
}

.main_project_portfolio a {
  text-decoration: none;
  color: white;
}

.main_project_portfolio .content_btn {
  padding: 6px 15px;
  background: #007bff;
  border: none;
  border-radius: 10px;
  color: white !important;
  font-weight: 500 !important;

}

.slider-container .slider-nav {
  border: none;
  background: transparent;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.about_logo {
  font-size: 1.6rem;
  color: #667eea;
}

.main_btn {
  margin-top: 40px;
}

.main_btn button {
  background: linear-gradient(45deg, #667eea, #764ba2);
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.main_btn button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.main_btn button:focus {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
}

.main_btn button a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}

@media (max-width:992px) {
  .card .content {
    flex-direction: column !important;

  }

  .card .content_btn {
    margin-top: 8px !important;
    width: 50%;
    margin: auto;
    /* text-align: center !important; */
  }

  .card .para_ {
    text-align: center;
    padding: 0.5rem;
    margin: 0 !important;
    font-size: 14.6px;

  }
}

.card .content {
  padding: 1.7rem 1.2rem 1rem 1.2rem;
}

.card .con_1 {
  padding-left: 1rem;
  padding-top: 0.2rem;
}

.card .para_ {
  padding: 0rem 1rem 0.5rem 1rem;
}



/* modal responsive css */

/* modal css */

.nav-btn {
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  padding: 5px 10px;
  transition: background-color 0.3s ease;
}

.nav-btn:hover {
  background-color: #e2e2e2;
}

.left-btn {
  margin-right: 3rem;
}

.right-btn {
  margin-left: 3rem;
}

.indicator {
  width: 10px;
  height: 10px;
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.indicator.active,
.indicator:hover {
  opacity: 1;
  background-color: #007bff;
}

.custom-close-btn {
  position: absolute;
  right: 0;
  top: 15%;
  width: 20px !important;
  height: 20px !important;
  background-color: transparent;
  border: none;
  z-index: 10;
  background-image: url('../image/x-lg\ 1.svg');
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.slider_img1 {
  min-height: 50vh;
  border-bottom-left-radius: 40px;
  border-top-left-radius: 40px;
}

.right_content {
  padding: 0 60px 20px 0;
  text-align: start;
  font-size: 17px;
  line-height: 28px;
}


/* portfolio button */
.main_btn button {
  background: #2f96fa;
  padding: 8px 35px;
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 500;
  font-size: 18px;
  margin-top: 1rem;
  font-weight: 500;
}

.main_btn a {
  color: white !important;
  text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .slider-nav i.about_logo {
    font-size: 20px;
  }
}

@media (max-width:992px) {
  .right_content {
    padding: 0 !important;
    text-align: center !important;
    margin-top: 1.2rem;
  }

  .content_1_ h4 {
    text-align: center;
  }

  /* .content_1_ .main_btn{
    text-align: center !important;
  } */
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .content_1_ .main_btn {
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .content_1_ .main_btn button {
    display: flex;
    justify-content: center;
  }
}

@media (max-width:576px) {
  .right_content {
    margin-top: 0px !important;
  }

  #modalImage {
    width: 100% !important;
    margin-top: 3rem !important;
  }

  .modal-nav-btn {
    font-size: 18px !important;
  }
}

.modal-text h4 {
  font-size: 30px;
}



/* technologies */

.about_background_technology {
  background:
    linear-gradient(to bottom left, rgba(82, 148, 247, 0.15) 0%, transparent 50%),
    linear-gradient(to top right, rgba(203, 214, 252, 0.15) 0%, transparent 60%);
}

.main_technologies {
  padding-top: 5rem;
  padding-bottom: 4rem;
}

.main_technologies .content {
  box-shadow: 0 3px 16px 16px rgba(163, 227, 243, 0.15);
  background-color: #ffffff;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.main_technologies .content img {
  width: 50px;
  height: 50px;
  margin: auto;
}

.main_technologies .content .text_info {
  font-size: 20px;
  color: #222;
  font-weight: 600;
  margin-top: 20px;
}

/* Filter Buttons Styling */

.filter-buttons {
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.filter-btn {
  background-color: white !important;
  border: 2px solid rgba(82, 148, 247, 0.3);
  color: #5294f7 !important;
  font-weight: 500 !important;
  padding: 10px 20px !important;
  margin: 8px 10px !important;
  border-radius: 25px !important;
  transition: all 0.3s ease;
  font-size: 18px;
}

.filter-btn:hover {
  background-color: rgba(82, 148, 247, 0.1) !important;
  border-color: rgba(82, 148, 247, 0.5) !important;
  color: #5294f7 !important;
}

.filter-btn.active {
  background-color: #5294f7 !important;
  border-color: #5294f7 !important;
  color: #ffffff !important;
}

.filter-btn.active:hover {
  background-color: #4284e7;
  border-color: #4284e7;
  color: #ffffff;
}

/* Animation for filtering */
.tech-item {
  transition: all 0.3s ease;
  opacity: 1;
  transform: scale(1);
}

.tech-item.hide {
  display: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .filter-btn {
    font-size: 12px;
    padding: 8px 15px;
    margin: 3px;
  }

  .filter-buttons {
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .filter-btn {
    font-size: 11px;
    padding: 6px 12px;
    margin: 2px;
  }
}

/* contact css*/

.about_background_contact {
  background:
    linear-gradient(to top left, rgba(82, 148, 248, 0.2) 0%, transparent 50%),
    linear-gradient(to bottom right, rgba(235, 240, 248, 0.5) 0%, transparent 40%);
}

.main_contact {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.form_content {
  margin-top: 3rem;
  box-shadow: 0 3px 16px 16px rgb(163 227 243 / 17%);
  border-radius: 20px;
  background-color: #ffffff;
  padding: 40px 40px;
}

.info_content_2 h2,
.form_content h2 {
  font-weight: 600;
  font-size: 28px;
}

.form_content p {
  font-size: 14px;
  color: gray;
  padding-top: 5px;
}

.form_content form {
  margin-top: 2rem;
}

.form_content form label {
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.form_content form input,
textarea {
  width: 100%;
  background: #F9F9F9;
  padding: 10px 10px;
  border: 1px solid #DDDDDD;
  border-radius: 8px;
}

.form_content form .form-control {
  color: #495057;
  font-size: 15px;
  background: #F9F9F9;
}

textarea:focus {
  box-shadow: none !important;
  border: 1px solid #DDDDDD !important;
}

.form_content form input:focus {
  box-shadow: none;
  border: 1px solid #DDDDDD;
}

.info_content_2 .content_text {
  margin-top: 40px;
}

.info_content_2 .multi_text .para_ {
  font-size: 16px;
  margin-left: 15px;
  line-height: 24px;
}

/* footer */
.footer-section {
  background: linear-gradient(to top right,
      rgba(60, 138, 255, 0.2) 0%,
      transparent 40%),
    linear-gradient(to bottom left,
      rgba(82, 148, 248, 0.2) 0%, transparent 50%);
}

.footer-section {
  color: #A4A4A4;
  font-family: var(--open_font);
}

.footer-section .about_footer_first img {
  width: 150px;
}

.footer-section .about_footer_first p {
  padding: 20px 20px 10px 10px;
  font-size: 15px;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: black !important;
}

.ul_contact {
  color: gray;
  font-weight: 500;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
  font-weight: 400;
  font-size: 15px;
  color: #A4A4A4;
}

.footer-section ul li a {
  text-decoration: none;
  color: #A4A4A4;
}

.footer-section ul li a:hover {
  color: #2f96fa;
}

.footer_logo {
  color: #A4A4A4;
  width: 15px;
  height: 15px;
  border: 1px solid #2f96fa;
  border-radius: 5px;
  margin-right: 2px;
  padding: 5px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  cursor: pointer;
}

.footer_logo:hover {
  background: #2f96fa;
  color: white;
}

.ul_contact {
  margin-right: 10px;
}

.email-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
}

.email-wrapper input[type="email"] {
  padding: 10px;
  flex: 1;
  border: 1px solid #4D4D4D;
  border-right: none;
  border-radius: 5px 0 0 5px;
  background: #171717;
  font-size: 16px;
  color: white;
  min-width: 0;
}

input[type="email"] {
  border: none;
  outline: none;
}

.img_btn {
  background: var(--orange);
  border: 1px solid #4D4D4D;
  border-left: none;
  border-radius: 0 5px 5px 0;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.img_btn img {
  width: 20px;
  height: 20px;
}

.footer_text {
  font-family: var(--open_font);
  font-weight: 300;
  font-size: 16px;
  color: black;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-col {
    text-align: center;
    margin-bottom: 30px;
  }

  .footer-section input[type="email"] {
    max-width: 100%;
  }

  .footer_text {
    font-size: 15px;
  }
}

.address-line {
  position: relative;
}

.ul_contact {
  font-weight: bold;
  display: inline-block;
  vertical-align: top;
}

.ul_address {
  display: inline-block;
  text-indent: 0;
}

@media (max-width:500px) {
  .ul_contact {
    /* display: inline; */
  }

  .ul_address {
    display: inline;
  }
}



/* scroll btn */

.up_arrow {
  font-size: 26px;
}

#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 999;
  font-size: 20px;
  background-color: #2f96fa;
  color: white;
  border: none;
  outline: none;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
}

#scrollTopBtn:hover {
  background-color: whitesmoke;
  color: black;
  transform: translateY(-5px);
  border: 1px solid var(--grey);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

#scrollTopBtn.show {
  display: block;
  animation: fadeIn 0.5s;
}

button:focus {
  box-shadow: none !important;
}

@media (max-width:767px) {
  .main_about {
    padding-top: 4rem !important;
  }

  .main_contact {
    padding-bottom: 0 !important;
    padding-top: 2rem;
  }

  .main_technologies {
    padding-bottom: 0 !important;
    padding-top: 1.5rem !important;
  }

  .main_servicce {
    padding-top: 2rem !important;
    padding-bottom: 2.5rem !important;
  }

  .main_third_content {
    padding-bottom: 0 !important;
    padding-top: 5px !important;
  }

  .footer-section .about_footer_first img {
    width: 130px;
  }

  .footer-section ul li {
    margin-bottom: 5px;
  }

  .content-box h2 {
    font-size: 28px !important;
    line-height: 36px;
  }

  .main_about .content-box p {
    font-size: 16px;
  }
}

@media (max-width:575px) {
  .content-box {
    padding: 1rem;
  }

  .content-box h2 {
    font-size: 24px !important;
    line-height: 32px;
  }

}

@media (max-width:767px) {
  .sm_btn {
    text-align: center !important;
  }
}

@media (max-width:500px) {

  .main_contact h6,
  .info_content_2 h2 {
    font-size: 25px;
    padding-top: 10px;
  }

  .content_text {
    margin-top: 30px !important;
  }

  .form_content form label {
    margin-bottom: 1rem;
    margin-top: 1.2rem;
  }
}

.btn-close-white {
  background: transparent;
  border: none;
  z-index: 9999;
}

#modalImage {
  /* border-radius: 20px; */
}

.indicator {
  width: 10px;
  height: 10px;
  cursor: pointer;
  opacity: 0.8;
}

.indicator.active {
  background-color: #0d6efd;
}

@media (max-width: 375px) {
  #modalImage {
    width: 100%;
  }
}



.btn {
  border: none !important;
  outline: none !important;
}

.btn:focus,
.btn:active {
  border: none !important;
  outline: none !important;
  border: transparent !important;
}

.modal-nav-btn {
  padding: 12px 18px;
  font-size: 24px !important;
  background-color: transparent;
  border: none;
}

/* css for about-part  */

.img-hover-zoom {
  height: auto;
  overflow: hidden;
}

.img-hover-zoom img {
  transition: transform .5s ease !important;
}

.img-hover-zoom:hover img {
  transform: scale(1.1);
}

/* bottom whatsapp icon */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
}

.whatsapp-button img {
  width: 32px;
  height: 32px;
}

.whatsapp-button:hover {
  background-color: #128c7e;
  transform: translateY(-5px);
}

@media (max-width:900px) {
  #scrollTopBtn {
    width: 50px;
    height: 50px;
  }

  .up_arrow {
    font-size: 22px;
  }

  .whatsapp-button img {
    width: 25px !important;
    height: 25px !important;
  }
}

/* portfolio page */

.portfolio_img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-text {
  font-weight: 500;
  padding: 15px 0;
}

.image-overlay-wrapper {
  position: relative;
  overflow: hidden;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}

.image-overlay-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.overlay-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(29, 29, 29, 0.7);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
}

.image-overlay-wrapper:hover .overlay-text {
  opacity: 1;
}

.card_info_ .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}


.main_poprtfolio_section {
  background:
    linear-gradient(to bottom left, rgba(82, 148, 247, 0.15) 0%, transparent 50%),
    linear-gradient(to top right, rgba(203, 214, 252, 0.15) 0%, transparent 60%);
  padding-top: 8rem;
}

.portfolio_navbar {
  background: white;
}

.portfolio_footer .content img {
  width: 150px;
  margin-left: 10px;
}

.linkdin_logo img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.modal_portfolio_img {
  border-radius: 30px !important;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.main_poprtfolio_section .card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

@media (max-width:767px) {
  .card_info_ {

    width: 80% !important;
    margin: auto !important;
    margin-top: 2rem !important;
  }
}

@media (max-width:767px) {
  .portfolio_footer .content .footer_img img {
    width: 120px;
  }

  .portfolio_footer .content .linkdin_logo img {
    width: 35px;
    height: 35px;
  }
}

/* Alert Styles */

.main_btn button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.success-alert {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: #2f96fa !important;
  color: white;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 500;
  z-index: 9999;
  display: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  width: 70%;
  margin: auto;
  text-align: center !important;
}

@media (max-width:500px) {
  .success-alert {
    padding: 8px 20px !important;
    font-size: 15px !important;
    width: 80%;
  }
}


.success-alert.show {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}


@media (min-width: 768px) and (max-width: 991.98px) {
  .portfolio-row {
    justify-content: center !important;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .image-overlay-wrapper {
    height: 220px;
  }
}

@media (min-width: 1200px) {
  .image-overlay-wrapper {
    height: 250px;
  }
}