@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Poppins:wght@400;700&family=Open+Sans:wght@400;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400&display=swap');

/* General smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation effect */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "poppins", sans-serif;
}

body {
  color: #000000;
  background: #fff;
  padding:0px;
  margin:0px;
}

/*










/* header beginning */

.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 30px 30px;
  background:#fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 10px 5px 15px rgba(0, 0, 0, 0.1);
}

/* General styles for the logo */
.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  cursor: default;
}

.logo div {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center the text */
}

.logo-image {
  width: 50px; /* Adjust size as needed */
  height: auto;
}

.logo span {
  font-size: 24px; /* Adjust size as needed */
  font-weight: bold;
  color: #000;
}

.logo small {
  font-size: 12px; /* Adjust size as needed */
  color: #666;
  margin-top: -5px; /* Adjust to reduce spacing */
}

body.dark-mode .logo span{
  color: #ffffff;
}

body.dark-mode .logo small{
  color: #d4d3d3;
}
/* Media queries for responsiveness */

/* For tablets and larger phones */
@media (max-width: 768px) {
  .logo-image {
    width: 40px;
  }

  .logo span {
    font-size: 20px;
  }

  .logo small {
    font-size: 10px;
  }
}

/* For smaller phones */
@media (max-width: 576px) {
  .logo-image {
    width: 30px;
  }

  .logo span {
    font-size: 18px;
  }

  .logo small {
    font-size: 9px;
    margin-top: -2px; /* Adjust to reduce spacing */
  }
}
/* Ensure the logo and text are styled to change the cursor on hover */
.logo,
.logo div,
.logo span,
.logo small {
  cursor: pointer; /* Change cursor to pointer on hover */
}

.navbar a {
  display: inline-block;
  font-size: 15px;
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  margin-left: 15px;
  margin-right:10px;
  padding: 1px 0px; 
  transition: 0.3s;
  opacity: 0;
  animation: slideTop 0.55s ease forwards;
  animation-delay: calc(0.2s * var(--i));
}

.navbar a:hover {
  color: rgb(3, 165, 177);
  background:#ebebeb;
  padding:0px 10px;
  border-radius:10px;
}


/* light mode */   
.navbar a:hover {
  color: rgb(3, 165, 177);
  background:#ebebeb;
  padding:0px 10px;
  border-radius:10px;
}

/* dark mode */ 
body.dark-mode .navbar a:hover {
  background-color: #2e2e2e; /* Slightly lighter hover background */
  color: #00eeff; /* Light hover text color */
}






.menu-toggle {
  display: none;
  cursor: pointer;
  z-index: 200;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #000;
  margin: 5px 0;
  transition: 0.4s;
}

@media (max-width: 768px) {
  .header{
    padding: 20px 30px;
  }
  .menu-toggle {
    display: block;
  }

  .navbar {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .navbar a {
    margin: 20px 0;
    font-size: 18px;
  }
  .navbar a:hover {
    padding:5px 20px;
  }

  .navbar.active {
    display: flex;
  }

  .menu-toggle.active .bar1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .menu-toggle.active .bar2 {
    opacity: 0;
  }

  .menu-toggle.active .bar3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

/* General dropdown styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  flex-direction: column;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

/* Show the dropdown content on hover */
.dropdown:hover .dropdown-content {
  display: flex;
}

.dropdown-toggle::after {
  content: ' ▼';
  font-size: 0.8em;
}

/* Dark mode styles */
body.dark-mode .dropdown-content {
  background-color: #333;
}

body.dark-mode .dropdown-content a {
  color: #fff;
}

body.dark-mode .dropdown-content a:hover {
  background-color: #444;
}

/* Navbar link hover effect */
.navbar a:hover, .navbar .dropdown:hover .dropdown-toggle {
  color: rgb(3, 165, 177);
  background: #ebebeb;
  padding: 0px 10px;
  border-radius: 10px;
}

body.dark-mode .navbar a:hover, body.dark-mode .navbar .dropdown:hover .dropdown-toggle {
  background-color: #2e2e2e;
  color: #00eeff;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
  .navbar {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .navbar a,
  .dropdown-content a {
    margin: 10px 0;
    font-size: 18px;
  }

  .navbar.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #000;
    margin: 5px 0;
    transition: 0.4s;
  }

  .dropdown-content a {
    padding: 8px 16px;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }


}






/*dark mode */
.dmicon{
  display:flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  justify-content: space-evenly;
}

.dmicon i {
  margin: 7px;
}
.dark-mode-toggle {
  position: relative;
  display: inline-flex;
  align-items:center;
  width: 50px;
  height: 25px;
}

.dark-mode-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.dark-mode-label {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 25px;
}

.dark-mode-label:before {
  position: absolute;
  content: "";
  height: 21px;
  width: 21px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .dark-mode-label {
  background-color: #0ef;
}

input:checked + .dark-mode-label:before {
  transform: translateX(24px);
}

.dmicon i{
  font-size: 20px;
  margin-right: 8px;
  transition: color .4s;
}

body.dark-mode .dmicon i{
  color: #ffcc00; /* Sun color for light mode */
}

body:not(.dark-mode) .dmicon i {
  color: #666666; /* Moon color for dark mode */
}

/*end of header */













/* beginning of home */

.home {
  position: relative;
  width: 100%;
  justify-content: space-between;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 120px 20% 30px;
}


.home .home-backgrounds {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
}

.home .home-backgrounds img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  animation: bgFade 16s infinite;
}

.home .home-backgrounds img:nth-child(1) {
  animation-delay: 0s;
}

.home .home-backgrounds img:nth-child(2) {
  animation-delay: 4s;
}

.home .home-backgrounds img:nth-child(3) {
  animation-delay: 8s;
}

.home .home-backgrounds img:nth-child(4) {
  animation-delay: 12s;
}

@keyframes bgFade {
  0%, 25%, 100% {
    opacity: 1;
    z-index: 1;
  }
  30%, 95% {
    opacity: 1;
    z-index: 0;
  }
}


.home-content {
  max-width: 800px;
  position: relative;
  z-index: 2; /* Ensure content is above the background */
  color: #fff; /* Ensure content is readable */
}

.home-content h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  opacity: 0;
  animation: slideBottom 1s ease forwards;
  animation-delay: 0.7s;
  color:#ededed;
  margin-top:20px;
  margin-bottom: 50px;
}

.home-content h3 {
  font-size: 4em; /* Default size for large screens */
  font-weight: bold;
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 992px) {
  .home-content h3 {
    font-size: 3em;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 768px) {
  .home-content h3 {
    font-size: 2.5em;
  }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 576px) {
  .home-content h3 {
    font-size: 2em;
  }
}







.home-content h3:nth-of-type(2) {
  margin-bottom: 30px;
  animation-delay: 0.7s;
}
.home-content h3 span {
  color: #0ef;
}
.home-content h1 {
  font-size: 56px;
  font-weight: 700;
  margin: -3px 0;
  opacity: 0;
  animation: slideRight 1s ease forwards;
  animation-delay: 1s;
  color:#ededed;
}

.home-content p {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  opacity: 0;
  animation: slideLeft 1s ease forwards;
  animation-delay: 1s;
  color:#ededed;
  background-color: rgba(0, 0, 0, 0.596);
  border-radius: 20px;
  text-align:center;
  padding:10px;
}

.home-sci a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid #0ef;
  border-radius: 50%;
  font-size: 20px;
  color: #0ef;
  text-decoration: none;
  margin: 30px 10px 30px 0;
  transition: 0.5s ease;
  opacity: 0;
  animation: slideLeft 1s ease forwards;
  animation-delay: calc(0.2s * var(--1));
}

.home-sci a:hover {
  background: #0ef;
  color: #081b29;
  box-shadow: 0 0 20px #0ef;
}

.btn-box {
  display: inline-block;
  padding: 12px 28px;
  background: rgb(28, 70, 73);
  border-radius: 40px;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 1px;
  text-decoration: none;
  font-weight: 600;
  opacity: 0;
  animation: slideTop 1s ease forwards;
  animation-delay: 2s;
  box-shadow: 0 0 3px #0ef, 0 0 13px #0ef;

}

.btn-box:hover {
  color: #081b29;
  background-color: #0ef;
  box-shadow: 0 0 20px #0ef;
}




.about-text .btn-box{
  margin-top:20px;
  align-self:center;
  display: inline-block;
  padding: 12px 28px;
  background: rgb(28, 70, 73);
  border: 2px solid #0ef;
  border-radius: 40px;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 1px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 0 5px cyan;
  transition: background 0.3s, box-shadow 0.3s;
}


.about-text .btn-box:hover{
  color: #081b29;
  background-color: #0ef;
  box-shadow: 0 0 20px #0ef;
}

/* home ending*/ 

















/* about us beginning*/





.about{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  align-items:center;
  gap: 1rem;
  margin-top:20px;
  padding: 30px 20% 0;
}

@media (max-width: 768px) {
  .about {
    padding: 50px 12%;
    
  }
}


.about-img img{
  max-width: 630px;
  height: auto;
  width: 100%;
  border-radius: 8px;
}

.about-text{
  align-items: center;
  text-align: center;
}
.about-text h2{
  font-size:60px;
}

.about-text h2 span{
  color:#0ef;
}

.about-text h4{
  font-size: 29px;
  font-weight: 600;
  color: #000000;
  line-height:1.7;
  margin: 15px 0 30px;
}

.about-text p{
  font-family: 'Outfit', sans-serif;
  color: #000000;
  font-size: 20px;
  line-height:1.4;
  margin-bottom:2rem;
}

.about-text .btn-box{
  margin-bottom:40px;
}

.about-text .btn-box{
  margin-top:20px;
  align-self:center;
  display: inline-block;
  padding: 12px 28px;
  background: rgb(28, 70, 73);
  border: 2px solid #0ef;
  border-radius: 40px;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 1px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 0 5px cyan;
  transition: background 0.3s, box-shadow 0.3s;
}


.about-text .btn-box:hover{
  color: #081b29;
  background-color: #0ef;
  box-shadow: 0 0 20px #0ef;
}

/* about us ending */








/* Cutting Edge Solutions Section */
.cutting-edge {
  padding: 50px 7%;
  background-color: #f5f5f5; /* Light background color */
  color: #000; /* Dark text color */
  position: relative;
  height: 100%;
  color: #000000;
  font-size: 20px;
  line-height: 1.4;
  background: url('images/home\ bg\ \(4\).png') no-repeat center center fixed;
  background-size: cover;
  overflow: hidden;
  
}


@media (max-width: 768px) {
  .cutting-edge .container{
    padding: 50px 2%;
    
  }
}


@media (max-width: 431px) {
  .cutting-edge .container{
    padding: 50px 1%;
    
  }
}



.cutting-edge .container{
  overflow-y: hidden;
}

.cutting-edge .sub-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
  color: #333;
  background-color:#fff;
  border-radius:30px;
}

.cutting-edge .sub-title span {
  color: #0ef;
}

.cutting-edge p {
  text-align: center;
  font-size: 18px;
  margin-bottom: 10px;
  color: #666;
  background-color:#fff;
  border-radius:30px;
  padding:20px;
}

body.dark-mode .cutting-edge p{
  color: #d3d1d1;
  background-color:#1e1e1e; 
}

.cutting-edge .cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding-bottom:40px;
}

.cutting-edge .card {
  flex: 1 1 calc(50% - 40px);
  max-width: calc(50% - 40px);
  background: #fff;
  border-radius: 10px 10px 10px 10px; /* Curved top border */
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;

}

.cutting-edge .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cutting-edge .card img {
  width: 100%;
  height: auto;
  display: block;
}

.cutting-edge .card .card-content {
  padding: 20px;
  background: #fff;
  border-radius: 0 0 10px 10px; /* Straight bottom border */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

}

.cutting-edge .card h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.cutting-edge .card p {
  font-size: 16px;
  color: #666;
}
.cutting-edge .btn-box{
  align-self:center;
  display: inline-block;
  padding: 12px 28px;
  background-color: #0ef;
  border: 2px solid #0ef;
  border-radius: 40px;
  font-size: 16px;
  color: #081b29;
  letter-spacing: 1px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 0 5px cyan;
  transition: background 0.3s, box-shadow 0.3s;
}

.cutting-edge .btn-box:hover{
  color: #ffffff;
  background: rgb(28, 70, 73);
  box-shadow: 0 0 20px #0ef;
}

@media (max-width: 768px) {
  .cutting-edge .card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 375px) {
  .cutting-edge {
    padding: 20px 10px;
  }

  .cutting-edge .card-content h2 {
    font-size: 1.2rem;
  }

  .cutting-edge .card-content p {
    font-size: 0.9rem;
  }
}

/* Dark Mode */
body.dark-mode .cutting-edge {
  background-color: #1e1e1e; /* Dark background color */
  color: #ededed; /* Light text color */
}

body.dark-mode .cutting-edge .sub-title {
  color: #ededed;
}

body.dark-mode .cutting-edge p {
  color: #bbb;
}

body.dark-mode .cutting-edge .card {
  background: #282828;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

body.dark-mode .cutting-edge .card:hover {
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

body.dark-mode .cutting-edge .card img {
  border-bottom: 1px solid #444; /* Adjust the border color as needed */
}

body.dark-mode .cutting-edge .card .card-content {
  background: #282828;
}

body.dark-mode .cutting-edge .card h2 {
  color: #ededed;
}

body.dark-mode .cutting-edge .card p {
  color: #bbb;
}






/* Portfolio Section */
.portfolio {
  padding: 20px 15%;
  background-color: #f5f5f5;
  color: #000;
  text-align: center;
}


/* Media Queries for Responsiveness */
@media (max-width: 992px) {
  .portfolio {
    padding: 20px 8%;
  }
}

@media (max-width: 768px) {
  .portfolio {
    padding: 20px 6%;
  }
}

@media (max-width: 576px) {
  .portfolio {
    padding: 20px 4%;
  }
}

.portfolio-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.portfolio-subtitle {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.portfolio-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.portfolio-flex {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.portfolio-group {
  display: flex;
  flex-direction: row;
  flex-wrap:wrap;
  gap: 20px;
}

.portfolio-item {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 300px;
  flex: 1;
}

.portfolio-item.large {
  min-height: 600px;
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.781);
  color: #fff;
  padding: 20px;
  transition: height 0.3s;
  height: 33%;
  overflow: hidden;
}

.portfolio-item:hover .overlay {
  height: 100%;
}

.overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.overlay p {
  font-size: 1rem;
  display: none;
}

.portfolio-item:hover .overlay p {
  display: block;
}

.view-project {
  display: inline-block;
  padding: 8px 16px;
  background: #00a3cc;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.portfolio-item:hover .view-project {
  background: #00a3cc;
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
  .portfolio-flex {
    flex-direction: column;
  }

  .portfolio-group {
    flex-direction: column;
  }

  .portfolio-item.large {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .portfolio-title {
    font-size: 2rem;
  }

  .portfolio-subtitle {
    font-size: 1.5rem;
  }

  .portfolio-description {
    font-size: 1rem;
  }

  .portfolio-item {
    min-height: 200px;
  }

  .overlay h3 {
    font-size: 1.2rem;
  }

  .overlay p {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .portfolio-title {
    font-size: 1.8rem;
  }

  .portfolio-subtitle {
    font-size: 1.3rem;
  }

  .portfolio-description {
    font-size: 0.9rem;
  }

  .portfolio-item {
    min-height: 150px;
  }

  .overlay h3 {
    font-size: 1rem;
  }

  .overlay p {
    font-size: 0.8rem;
  }
}

/* Dark Mode */
body.dark-mode .portfolio {
  background-color: #1e1e1e;
  color: #ededed;
}

body.dark-mode .overlay {
  background: rgba(0, 0, 0, 0.8);
}

body.dark-mode .view-project {
  background: #00a3cc;
}

body.dark-mode .portfolio-item:hover .view-project {
  background: #0086b3;
}














/*  testimonials carousel starts*/
.testimonials {
  padding: 40px 5%;
  background-color: #e9e8e8;
  text-align: center;
}

.testimonials .container{
  overflow-y: hidden;
}

.testimonials .sub-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
}

.testimonial {
  max-width:90%;
  margin:5%;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.testimonial img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover; /* Ensures the image covers the area without distortion */
  object-position: center; /* Centers the image within the circle */
  margin-bottom: 15px;
}

.testimonial h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.stars span {
  color: #ff0;
  font-size: 1.2rem;
}

.testimonial p {
  font-size: 1rem;
  color: #666;
  padding: 20px;
}


/* Carousel Controls */
.carousel-control {
  position: absolute;
  top: 20%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding:5px;
  border-radius: 20px;
}

.carousel-control.prev {
  top: 100px;
  left: 100px;
}

.carousel-control.next {
  right: 100px;
  top: 100px;
}



@media (max-width: 768px){
  .carousel-control.prev {
    left: 50px;
  }
  
  .carousel-control.next {
    right: 50px;
  }
}




/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.carousel-indicators .dot {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-indicators .dot.active {
  background: #333;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .testimonial {
    padding: 10px;
  }

  .testimonial h2 {
    font-size: 1.2rem;
  }

  .testimonial p {
    font-size: 0.9rem;
  }

  .carousel-control {
    font-size: 1.5rem;
  }
}

/* Dark Mode Styles */
body.dark-mode .testimonials {
  background-color: #333;
  color: #fff;
}

body.dark-mode .testimonial {
  background: #444;
  color: #ddd;
}

body.dark-mode .stars span {
  color: #ff0;
}

body.dark-mode .carousel-control {
  background: rgba(255, 255, 255, 0.5);
  color: #000;
}

body.dark-mode .testimonial p {
  color: #fffefe;
}

body.dark-mode .carousel-indicators .dot {
  background: #777;
}

body.dark-mode .carousel-indicators .dot.active {
  background: #fff;
}


/* testimonials carousel ends */









/* FAQ Section */
.faq {
  padding: 60px 20px;
  background-color: #f5f5f5;
  color: #000;
  text-align: center;
}

.faq-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.accordion-item {
  background-color: #fff;
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgb(28, 70, 73);
  color: #fff;
}

.accordion-icon {
  font-size: 1.5rem;
}

.accordion-content {
  padding: 20px;
  display: none;
  background-color: #fff;
}

.accordion-content p {
  margin: 0;
}

.accordion-item.active .accordion-content {
  display: block;
}

.accordion-item.active .accordion-icon {
  content: 'x';
}

/* Media Queries */
@media (max-width: 768px) {
  .faq-title {
    font-size: 2rem;
  }
  .accordion-header {
    padding: 15px;
  }
  .accordion-content {
    padding: 15px;
  }
}

@media (max-width: 576px) {
  .faq-title {
    font-size: 1.8rem;
  }
  .accordion-header {
    padding: 10px;
  }
  .accordion-content {
    padding: 10px;
  }
}

/* Dark Mode */
body.dark-mode .faq {
  background-color: #1e1e1e;
  color: #ededed;
}

body.dark-mode .accordion-item {
  background-color: #282828;
  color: #ededed;
}

body.dark-mode .accordion-header {
  background-color: rgb(28, 70, 73);
}

body.dark-mode .accordion-content {
  background-color: #282828;
}











/*contact us */ 


.contact {
  position:relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center items horizontally */
  align-items: center; /* Center items vertically */
  gap: 1rem; /* Adjust the gap between items */
  margin-top: 30px;
  background: url(images/contact\ bg\ \(1\).png);
  padding: 20px 10%;
}


.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.582);/* Adjustable transparency */
  z-index: 1;
}

.contact > * {
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .about, .contact {
    grid-template-columns: 1fr;
  }
}

.contact-text {
  display:flex;
  flex-direction: column;
  align-items:center;
  margin-top:40px;
  background-color: #fff;
  border-radius: 20px;
  padding:30px;
}
.contact-text h2{
  line-height: 1;
  text-align: center;
  margin-bottom: 10px;
}

.contact-text h2 {
  font-size: 4em; /* Default size for large screens */
  font-weight: bold;
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 992px) {
  .contact-text h2 {
    font-size: 3.5em;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 768px) {
  .contact-text h2{
    font-size: 3em;
  }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 576px) {
  .contact-text h2 {
    font-size:2.5em;
  }
}



.contact-text h4{
  color: rgb(97, 97, 97);
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-text p{
  color: rgb(58, 58, 58);
  font-size:20px;
  line-height: 30px;
  margin-bottom:10px;
  text-align:center;
}

.contact-list {
  margin-top: 10px;
  margin-bottom: 10px;
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-list li{
  margin-bottom: 10px;
  display:flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  justify-content: space-evenly;
}

.contact-list i{
  display: inline-block;
  color:#0ef;
  font-size: 20px;
  font-weight: 600;
  transition: all .40s ease;
}

.contact-list li a:hover{
  transform: scale(1.01) translateY(-5px);
  color: #0ef;
}

.contact-icons i{
  display: inline-flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid #0ef;
  border-radius: 50%;
  font-size: 20px;
  color: #0ef;
  text-decoration: none;
  margin: 30px 0 px 30px 0;
  transition: .5 ease;
  opacity: 0; 
  animation: slideLeft 1s ease forwards;
  animation-delay: calc(.2s *var(--i));
}

.contact-icons i:hover{
  background: #0ef;
  color: #000;
  box-shadow: 0 0 20px #0ef;
}
.contact-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.contact-icon a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #25d366; /* WhatsApp green color */
  color: white;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, box-shadow 0.3s;
}

.contact-icon a.call-icon {
  background-color: #007bff; /* Call icon blue color */
}

.contact-icon a:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.contact-icon a i {
  font-size: 24px;
}








.contact-form form{
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content: center;
  padding-top: 20px;
}


.contact-form form input, form textarea{
  border:none;
  outline:none;
  width:80%;
  padding: 18px;
  background: #fff;
  color: #000;
  font-size:1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
}

.contact-form textarea{
  resize:none;
  height:220px;
  background: #fff;
}

.contact-form form .send{
  display: inline-block;
  padding: 12px 60px;
  background: #0ef;
  border-radius: 40px;
  font-size: 18px;
  color: #001b29;
  letter-spacing: 1px;
  text-decoration: none;
  font-weight:600;
  opacity: 0;
  animation: slideTop 1s ease forwards; 
  animation-delay: 2s;
  box-shadow: 0 0 5px #0ef;
  margin: 30px;
}

.contact-form form .send:hover{
  box-shadow: 0 0 5px cyan,
  0 0 15px rgb(81, 95, 95), 0 0 50px cyan,
  0 0 10px cyan, 0 0 20px cyan;
}


.last-text{
  background: rgb(7, 85, 91);
  display: flex;
  flex-direction: row;
  padding:10px;
}

.last-text p{
  width: 100%;
  text-align: center;
  padding: 25px; 
  font-weight:300;
  color:#fff;
}

.top{
  position: fixed;
  bottom: 2.1rem;
  left: 2.1rem;
}

.top i {
  color:#000000;
  background: #0ef;
  font-size: 10px;
  border-radius: 0.5rem;

}


@keyframes slideRight {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}

@keyframes slideLeft {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}

@keyframes slideTop {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes slideBottom {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}








/* Footer Section */
.footer {
  background: rgb(7, 85, 91);
  color: #000;
  padding: 40px 10%;
}

.footer .flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer .flex-item {
  flex: 1 1 calc(33.33% - 20px);
  max-width: calc(33.33% - 20px);
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.footer .flex-item h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.footer .flex-item p {
  font-size: 16px;
  color: #666;
  padding: 10px;
}



.contact-me-flex {
  flex: 1 1 300px; /* Flex-grow, flex-shrink, and flex-basis */
  margin: 10px;
  padding: 10px;
  background-color: #ffffff; /* Background color for better visibility */
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-details {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.contact-details i {
  margin-right: 10px;
}

.email, .phone {
  white-space: nowrap; /* Prevent text from breaking into multiple lines */
  overflow: hidden; /* Hide any overflow text */
  text-overflow: ellipsis; /* Display ellipsis (...) for overflow text */
  max-width: 100%; /* Ensure the text doesn't expand beyond its parent */
  word-wrap: break-word; /* Break long words to ensure they fit within the container */
}

@media (max-width: 768px) {
  .contact-me-flex {
    margin: 10px 0;
  }
}




.footer .social-icons {
  display: flex;
  justify-content: space-evenly;
}

.footer .social-icons a {
  color: #000;
  font-size: 20px;
  margin: 0 5px;
}

.footer .social-icons a:hover {
  color: #0ef;
}

.footer .flex-item input,
.footer .flex-item button{
  padding: 5px;
  margin: 5px;
}



.footer .flex-item input{
  width: 100%;
}

.footer .flex-item button{
  background-color:#0ef;
  border:none;
  padding: 15px;
  border-radius: 20px;
}

.footer .flex-item button:hover{
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.39);
}

.footer-text {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color:#fff;
}

@media (max-width: 1110px) {
  .fotmail{
    font-size:16px;
  }

}

@media (max-width: 768px) {
  .footer .flex-item {
    flex: 1 1 100%;
    max-width: 100%;
  }


  .fotmail{
    font-size:13px;
  }

}

.servelist{
  display:flex;
  flex-direction: column;
  margin-left: 20px;
  justify-content: space-evenly;

}

.servelist a{
  padding-bottom:10px;

}
.servelist a:hover{
  color:#000000ef;
} 
body.dark-mode .servelist a{
  color:#ededed;
} 
body.dark-mode .servelist a:hover{
  color:#64f0d6ef;
} 






/* Dark Mode Styles */
body.dark-mode {
  background-color: #121212; /* Modern black background */
  color: #ededed; /* Light text color */
}

body.dark-mode .header {
  background-color: #1e1e1e; /* Darker header background */
  color: #ededed; /* Light text color */
}



body.dark-mode .logo{
  color: #fff;
}

body.dark-mode .menu-toggle .bar {
  background-color: #fff;
}

body.dark-mode .navbar {
  background:#1e1e1e;
}

body.dark-mode .navbar a {
  color: #ededed; /* Light text color */
}

body.dark-mode .navbar a:hover {
  background-color: #2e2e2e; /* Slightly lighter hover background */
  color: #00eeff; /* Light hover text color */
}

body.dark-mode .home-content h3,
body.dark-mode .home-content h1,
body.dark-mode .home-content p,
body.dark-mode .about-text p,
body.dark-mode .about-text h4{
  color: #ededed; /* Light text color */
}

body.dark-mode .home-sci a {
  border-color: #ededed; /* Light border color */
  color: #ededed; /* Light icon color */
}

body.dark-mode .home-sci a:hover {
  background-color: #0ef; /* Light hover background */
  color: #121212; /* Dark hover icon color */
}

body.dark-mode .about,
body.dark-mode .services,
body.dark-mode .contact {
  background-color: #1e1e1e; /* Darker background for sections */
}


body.dark-mode .sub-title,
body.dark-mode .services-list h2,
body.dark-mode .services-list p{
  color: #ededed; /* Light text color */
}

body.dark-mode .about-text h2 span,
body.dark-mode .sub-title span,
body.dark-mode .contact-text h2 span {
  color: #00eeff; /* Highlight color */
}

body.dark-mode .services-list div,
body.dark-mode .container1{
  background-color: #282828; /* Dark background for containers */
}

body.dark-mode .sub-title,
body.dark-mode .services .container .Services-box{
  background: rgba(19, 19, 19, 0.85); /* Adjust the transparency here */
}

body.dark-mode .row:hover {
  box-shadow: 1px 1px 25px #c7c6c6, 1px 1px 15px #dddddd;
}

body.dark-mode .contact::before {
  background: rgba(0, 0, 0, 0.555);/* Adjustable transparency */

}

body.dark-mode .contact-text {
  background: #1e1e1e;
  color:#fff;
}

body.dark-mode .contact-text h4 {
  color:#fff;
}

body.dark-mode .contact-text p {
  color:#fff;
}

body.dark-mode .contact-form form .uput{
  background: #1e1e1e;
  color:#fff;
}

body.dark-mode .contact-form textarea{
  background: #1e1e1e;
  color:#fff;
}

body.dark-mode .contact-form{
  background-color: none;
}

body.dark-mode.contact-form form .send{
  background: #0ef;
}


body.dark-mode .footer {
  background-color: #1e1e1e;
  color: #ededed;
}

body.dark-mode .footer .flex-item {
  background: rgb(7, 85, 91);
  color: #ededed;
}

body.dark-mode .footer .flex-item h2, body.dark-mode .footer .flex-item p {
  color: #bbb;
}

body.dark-mode .footer .social-icons a {
  color: #ededed;
}

body.dark-mode .footer .social-icons a:hover {
  color: #00eeff;
}

body.dark-mode .footer-text {
  color: #bbb;
}




body.dark-mode .read,
body.dark-mode .send {
  background-color: #00eeff; /* Highlight background */
  color: #121212; /* Dark text color */
}

body.dark-mode .last-text p {
  background-color: #121212; /* Darker footer background */
  color: #ededed; /* Light text color */
}

body.dark-mode .top i {
  background-color: #00eeff; /* Highlight background */
  color: #121212; /* Dark icon color */
}

/* Ensure any other elements that need dark mode styles are covered */





/* first modal popup */

.popup {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 5px;
  text-align: center;
}

.popup p {
  margin: 20px 0;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 20px;
  color: #666;
}

.popup-close:hover {
  color: #000;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Add this to ensure all containers are constrained */
.container, .home, .about, .cutting-edge, .testimonials, .faq, .contact, .footer {
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}
