:root{
    --primary-color: #ff8800;
    --secondary-color: #2B2024;
    --bg-color:#linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    --text-color: #2B2024;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
 font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
  overflow-x: hidden;
}
a {
  color: #777;
  text-decoration: none;
  transition: 0.3s all ease;
  
}


a:hover {
  color: #000;
}

.common {
  padding: 4% 7%;
  background-color: #f4f4f4;
  text-align: center;
}
.common_container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
}
.top-bar {
 background: linear-gradient(120deg, #6e8efb 0%, #a777e3 100%);
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 8px 7%;
  font-size: 14px;
}

.top-bar i {
  margin-right: 6px;
}

.social-icons i {
  
  cursor: pointer;
  padding: 12px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 25px 7%;
  background: white;
  border-bottom: 1px solid #ccc;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-weight: bold;
  font-size: 1.2rem;
background: linear-gradient(120deg, #6e8efb 0%, #a777e3 100%);}

.toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: black;
  padding: 8px;
  transition: 0.3s;
}

.nav-links a.active,
.nav-links a:hover {
  color: black;
  border-bottom: 2px solid black;
}

.quote-btn {
  border: 1px solid white;
  background: linear-gradient(120deg, #6e8efb 0%, #a777e3 100%);
  /* color: var(--bg-color) !important; */
  padding: 6px 12px;
  border-radius: 4px;
  margin-left: 270px;
}

.quote-btn:hover {
 background: linear-gradient(120deg, #6e8efb 0%, #a777e3 100%);
   color: black;
  
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 35px;
  left: 0;
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  list-style: none;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 10px;
  white-space: nowrap;
}


/* slider */
.carousel {
  width: 100%;
  height: 80vh;
  position: relative;
}

.slide {
  background-size: cover;
  background-position: center;
  height: 80vh;
  position: relative;
}

.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 25px;
background: linear-gradient(120deg, #6e8efb 0%, #a777e3 100%);  color: #fff;
  border: 2px solid #fff;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn:hover {
  background-color: #fff;
  color: #000;
}

/* Owl Arrows */
.owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
    color: #fff !important; /* force white */
  background: rgba(0, 0, 0, 0.4) !important;
  font-size: 2rem !important;
  padding: 10px 14px;
  border-radius: 50%;
  z-index: 10;
  transition: 0.3s;
}

.owl-nav .owl-prev {
  left: 20px;
}
.owl-nav .owl-next {
  right: 20px;
}

.owl-nav button:hover {
  background: #ffffff;
}

/* Dots with Preview */
/* Dots container */
.owl-dots {
  position: absolute;
  bottom: 25px;
  width: 100%;
  text-align: center;
  z-index: 30;
}

/* Each dot */
.owl-dot {
  position: relative;
  height: 14px;
  width: 14px;
  margin: 0 6px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: inline-block;
  opacity: 0.6;
  cursor: pointer;
  transition: all 0.3s ease;
}

.owl-dot.active,
.owl-dot:hover {
  background-color: #fff;
  opacity: 1;
}

/* Dot hover preview image */
.owl-dot::after {
  content: '';
  position: absolute;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 70px;
  background-image: var(--preview-img);
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 30;
}

.owl-dot:hover::after {
  opacity: 1;
}


/* About */
.About {
  /* padding: 4% 7%; */
  background-color: #f4f4f4;
  /* text-align: center; */
}
.About h2 {
  font-size: 2.5rem;
 margin-bottom: 40px;
  color: #4e54c8;

  
  font-weight: bold;
  letter-spacing: 1px;
}
/* .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
} */
.About_img{
 width: 45%;

}
.About_img img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  
}

.About_content{
    width: 50%;
    text-align: center;
}
.About_content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  /* color: var(--primary-color); */
  color: #4e54c8;
}
.About_content p {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text-color);
  text-align: justify;
    margin-bottom: 30px;
}

.know_more_btn{
    display: inline-block;
    padding: 10px 30px;
background: linear-gradient(120deg, #6e8efb 0%, #a777e3 100%);
    color: #fff;
    border: none;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
        text-transform: uppercase;
    border-radius: 10px;
    /* box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5); */
}
.know_more_btn:hover {
      transform: scale(0.9);
}

/* why choose us */
.why_choose_us {
background: linear-gradient(120deg, #6e8efb 0%, #a777e3 100%);
  color: #fff;
}
.why_choose_us h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
}
.why_choose_us p {
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.reasons {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  text-align: left;
}

.reason-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  max-width: 500px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  flex: 1 1 45%;
}

.reason-card img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.reason-card .text h3 {
  margin-bottom: 10px;
  color: #000;
  font-size: 1.2rem;
}

.reason-card .text p {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* filter tabs */

.portfolio h2 {
  /* color: var(--primary-color); */
    color: #4e54c8;

  font-size: 2rem;
  margin-bottom: 20px;
}

.filter-tabs {
  margin-bottom: 30px;
}

.filter-btn {
  background: #d9e7f5;
  border: none;
  color: var(--primary-color);  background: linear-gradient(120deg, #6e8efb 0%, #a777e3 100%);

  padding: 10px 20px;
  margin: 5px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: linear-gradient(120deg, #6e8efb 0%, #a777e3 100%);
  color: white;
}

.portfolio-grid {
  display: grid;
 grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.portfolio-item {
  transform: scale(0);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  display: none;
}

.portfolio-item.show {
  display: block;
  transform: scale(1);
  opacity: 1;
}

.img-wrapper {
  position: relative;
  overflow: hidden;
}

.img-wrapper img {
  width: 100%;
  display: block;
  min-height: 240px;
}

.img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px;
  background: linear-gradient(120deg, #6e8efb 0%, #a777e3 100%);
  color: white;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.img-wrapper:hover .img-overlay {
  transform: translateY(0);
}

.Services_title {
  color: #4e54c8;
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.underline {
  width: 40px;
  height: 4px;
  background-color: var(--primary-color);  background: linear-gradient(120deg, #6e8efb 0%, #a777e3 100%);

  margin: 0 auto 30px;
  border-radius: 2px;
}

.Services_description {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 960px;
  margin: 0 auto;
  color: #222;
  font-family: 'Georgia', serif;
}
/* Card Styles */
.card-carousel{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
}
.card {
 border: 1px solid #cfdff5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: #fff;
    max-width: 300px;
    margin: auto;
    width: 23%;
}

.card-slider img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 15px;
 text-align: center;
 min-height: 200px;
}

.card-text {
  text-align: left;
  margin-bottom: 15px;
}
.card-content h3 {
  color: var(--secondary-color);
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.card-content p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.card-content .btn {
  padding: 10px 22px;
  text-decoration: none;
  font-size: 0.8rem;
}

.card-content .btn:hover {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}







/* flip card delete */


/* .flip-card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 0;
  background: var(--bg-color);
  gap: 20px;
}

.flip-card {
  background-color: transparent;
  width: 500px;
  height: 300px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateX(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.flip-card-front {
  background-color: #1abc9c;
  color: #FBF9FA;
  flex-direction: column;
}

.flip-card-front i {
  font-size: 3rem;
  color: white;
  margin-bottom: 10px;
}

.flip-card-front h3 {
  font-size: 1.4rem;
  font-weight: 600;
}

.flip-card-back {
  background-color: var(--primary-color);
  color: #FBF9FA;
  transform: rotateX(180deg);
  font-size: 1.1rem;
  line-height: 1.6;
} */





/* footer */
.cpy:hover {
      background-color: #45a049;
    }

    .cpy:active {
      background-color: #3e8e41;
    }
.site-footer {
  /* background-image: url('./img/2-aa.png'); Replace with your image path */
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: #fff;
  position: relative;
  font-family: sans-serif;
}

.footer-overlay {
  background: linear-gradient(120deg, #6e8efb 0%, #a777e3 100%);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
   padding: 50px 20px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h3 {
  color: #fff;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-column p,
.footer-column li {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #ccc;
}

.footer-column ul {
  padding: 0;
  list-style: none;
}

.social-icons a {
  display: inline-block;
  text-align: center;
  font-size: 1.3rem;
  color: #fff;
  background: #1a1a1a;
  border-radius: 50%;
  padding: 8px;
  transition: background 0.3s;
}

.social-icons a:hover {
    background: linear-gradient(120deg, #6e8efb 0%, #a777e3 100%);

}

.footer-bottom {
     background: linear-gradient(120deg, #6e8efb 0%, #a777e3 100%);

  color: #fff;
  text-align: center;
  padding: 12px 0;
  font-size: 0.9rem;
}


/* Responsive */
@media (max-width: 768px) {
  .toggle {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: left;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
  }

  .content h1 {
    font-size: 2rem;
  }
  .reason-card {
    flex-direction: column;
    text-align: center;
  }

  .reason-card img {
    margin-bottom: 15px;
  }
  /* about */
  .container{
    flex-direction: column;
    align-items: center;
  }
    .About_img, .About_content {
        width: 100%;
    }
    /* portfolio */
    .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
    }
    .flip-card-container{
    flex-direction: column;
    align-items: center;
    }
    .flip-card {
  background-color: transparent;
  width: 280px;
  height: 400px;
  perspective: 1000px;
}
}

@media screen and (max-width: 768px) {
  .card {
    max-width: 90%;
    padding: 1rem;
  }
}


@media screen and (max-width: 1200px) {
.card {
    border: 1px solid #cfdff5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: #fff;
    max-width: 300px;
    margin: auto;
    width: auto;
}
}
