/* ==========================================================
   Global Styles – NivraTech Website
========================================================== */
:root {
  --primary: #1100ff;
  --accent: #ffffff;
  --light-bg: #f5f7fa;
  --dark-gray: #2f3546;
  --text: #1e1e1e;
  --radius: 0.75rem;
  --shadow: 0 8px 20px rgba(10, 13, 41, 0.08);
  --transition: 0.3s ease;
  --font-sans: "Poppins", "Inter", sans-serif;
  --ghost: #f8f8ff;
  --offwhite: #faf9f6;
  --snow: #fafdff;
  --primary-color: #00c9ff;
  --secondary-color: #92fe9d;
  --primary-color-2: #00c9ff;
  --secondary-color-2: #92fe9d;
  --black: black;
  --wt: whitesmoke;

  --lg7: linear-gradient(-20deg, #b721ff 0%, #21d4fd 100%);
  --lg8: linear-gradient(to right, #f83600 0%, #f9d423 100%);
  --lg1: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
  --lg2: linear-gradient(to right, #43e97b 0%, #38f9d7 100%);
  --lg3: linear-gradient(120deg, #f093fb 0%, #f5576c 100%);
  --lg4: linear-gradient(to right, #00dbde 0%, #fc00ff 100%);
  --lg5: linear-gradient(to top, #ff0844 0%, #ffb199 100%);
  --lg6: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);

  --lg9: linear-gradient(to right, #00c6ff 0%, #0072ff 100%);
  --lg10: linear-gradient(to right, #ff416c 0%, #ff4b2b 100%);
  --lg11: linear-gradient(to right, #00c9ff 0%, #92fe9d 100%);
  --lg12: linear-gradient(to right, #ff6a00 0%, #ee0979 100%);
  --lg13: linear-gradient(to right, #ff0084 0%, #33001b 100%);
}

html::-webkit-scrollbar-track {
  color: #000000;
  background-color: #ffffff;

  background-blend-mode: multiply;
}

html::-webkit-scrollbar {
  width: 15px;
  color: #000000;
}

html::-webkit-scrollbar-thumb {
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.115);
  background-color: rgb(255, 255, 255);
  background: var(--lg11);
  border-radius: 10px;
}

html::-webkit-scrollbar-thumb:active {
  /* box-shadow: 1px 5px 8px rgb(208, 123, 245); */
  background: var(--lg2);
}

/* selection style */
/* ::selection {
background: linear-gradient(45deg, #667eea, #764ba2);

  color: #ffffff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.126);
} */
::selection {
  background: #647ceb;
  /* Fallback solid color */
  color: #ffffff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.126);
}

::selection {
  background: #6bffc4;
  /* Fallback solid color */
  color: #000000;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.126);
}

/* For browsers that support it (very limited) */
/* @supports (-webkit-text-fill-color: transparent) {
  ::selection {
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
  }
} */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: rgb(255, 255, 255);

  line-height: 1.6;
  opacity: 0;
  animation: fadeInBody 0.6s forwards;
}

@keyframes fadeInBody {
  to {
    opacity: 1;
  }
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

.container {
  width: min(90%, 1100px);
  margin-inline: auto;
}

.center-text {
  text-align: center;
}

.lead {
  font-size: 1rem;
  color: var(--dark-gray);
}

.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  margin-bottom: 2rem;
  color: var(--dark-gray);
}

.grid-2 {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-2-40 {
  display: grid;
  gap: 2rem;
  grid-template-columns: 60% 1fr;
}

.card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  transition: transform var(--transition);
}

.card:hover {
  transform: translateY(-6px);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition),
    transform var(--transition);
  text-decoration: none;
}

.btn.primary {
  background: var(--accent);
  background-image: linear-gradient(to right, #92fe9d 0%, #00c9ff 100%);
  color: #fff;
  transition: all linear 0.5s;
  animation: floatbtn 3s ease-in-out infinite;
}

.btn.ghost {
  border: 1px solid rgba(3, 192, 255, 0.471);
  background-image: linear-gradient(to right, #92fe9d 0%, #00c9ff 100%);
  background-clip: text;
  text-overflow: clip;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 5px 10px lightskyblue;
  transition: all linear 0.5s;
  animation: floatbtn 4s ease-in-out infinite;
}

@keyframes floatbtn {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-5px);
  }

  100% {
    transform: translateY(0px);
  }
}

.btn.primary:hover {
  background: var(--lg2);
}

.btn.ghost:hover {
  background: var(--lg2);
  background-clip: text;

  border: none;
}

.btn.large {
  font-size: 1.125rem;
}

.btn.full {
  width: 100%;
  text-align: center;
}

.link-arrow {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.link-arrow::after {
  content: "→";
  margin-left: 0.4rem;
  transition: transform var(--transition);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* Header & Nav */



.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  color: rgb(0, 242, 255);
  background-image: linear-gradient(to right,
      #4facfe 0%,
      rgb(0, 242, 255) 100%);
  background-clip: text;
  text-overflow: clip;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 5px 10px lightskyblue;
  text-decoration: none;

  & img {
    width: 45px;
    aspect-ratio: 1;
  }
}

.logo span {
  color: var(--accent);
  color: rgb(51, 255, 0);
  background-image: linear-gradient(to right, rgb(51, 255, 0) 0%, #43e97b 100%);
  background-clip: text;
  text-overflow: clip;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 5px 10px lightgreen;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;

  & li a {
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 15px;
    display: inline-block;
    position: relative;
    left: 20px;
    color: #000 !important;

     &::after{
      content: "";
      position: absolute;
      bottom: -0.3rem;
      left: 0;
      width: 0%;
      /* border-bottom: 2.2px solid rgb(0, 255, 38); */
      background: linear-gradient(to right, rgba(255, 255, 255, 0.612), #2962ff, #00c853,rgba(255, 255, 255, 0.623));

      color: rgb(0, 242, 255);
      transition: all 0.3s linear;
      -webkit-transition: all 0.3s linear;
      -moz-transition: all 0.3s linear;
      -ms-transition: all 0.3s linear;
      -o-transition: all 0.3s linear;
    }

  }

  & li a:hover:after {
    width: 100%;
  }



  & li a:hover {
    color: rgb(0, 0, 0);
    background: linear-gradient(to right, #050505, #00ffff9e);
      background: linear-gradient(to right, #2962ff 0%, #00c853 100%);

    background-clip: text;
    background-clip: text;
    text-overflow: clip;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 15px rgba(41, 98, 255, 0.3);
  }
}




.nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--primary);
  position: relative;
}

.nav a.active::after,
.nav a:hover::after {
  overflow: hidden;
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
}

/* Burger */
.nav-toggle {
  overflow: hidden;
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

body.dark-mode .nav-toggle {
  color: #fff;
}

.cntc-btn {
  background: linear-gradient(to right, #1a00e0, #00f667);
  background-clip: text;
  background-clip: text;
  text-overflow: clip;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 15px rgba(41, 98, 255, 0.3);
}

@media (max-width: 1024px) {
  .nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    overflow-x: hidden;
    height: 100vh;
    width: 60%;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    padding-top: 5rem;
    gap: 2rem;
    transition: all ease-in-out 0.2s;
  }

  .dark-mode .nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    overflow-x: hidden;
    height: 100vh;
    width: 60%;
    background: #000000de;
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    padding-top: 5rem;
    gap: 2rem;
    transition:  all ease-in-out 0.2s;
  }

  .nav ul.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .grid-2-40 {
    grid-template-columns: 1fr;
  }

}

 


@media (max-width: 1024px) {
  .nav ul li a {
    left: 0;
    /* Reset horizontal shift */
  }
}

/* Fix for mid-size screens (1025px–1245px) */
@media (max-width: 1445px) and (min-width: 925px) {
.nav ul {
      margin: 0 150px;
}
}

/* Small mobile fixes (<320px–400px) */
@media (max-width: 400px) {
  .nav-wrapper {
    position: relative;
    padding: 0.6rem 0.8rem;
  }

  /* Move dark mode toggle below logo */
  .dark-mode-toggle {
    position: absolute;
    top: 50%;
    right: 3rem; /* leave space for hamburger */
    transform: translateY(-0%) translateX(50%) scale(0.85);
    z-index: -1002;
  }

  /* Logo scaling */
  .logo img {
    width: 32px;
  }

  .logo {
    font-size: 1rem;
  }

  /* Hamburger stays on far right */
  .nav-toggle {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    z-index: -1003;
  }
}


html,
body {
  overflow-x: hidden;
  width: 100%;
}

body.no-scroll {
  overflow: hidden;
}

/* Disable background scroll when nav is open */
body.no-scroll {
  overflow: hidden;
}

/* Close button inside nav */
.nav-close {
  display: none;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  font-size: 2rem;
  color: #000;
  border: none;
  cursor: pointer;
  padding: 0 25px;
  z-index: 1100;
}

.dark-mode .nav-close i {
  color: #fff !important;
}

/* Show close button only on mobile */
@media (max-width: 1024px) {
  .nav-close {
    display: block;
  }

  .dark-mode .nav-close {
    color: #fff !important;
  }
}

.nav .fa-solid {
  font-size: 2.5rem;
  color: var(--primary);
  transition: color var(--transition);
}




/* dark mode button */
.dark-mode-toggle {
  position: fixed;
  top: 15px;
  right: 52px;
  z-index: 999;
  display: flex;
  align-items: center;
  border-radius: 30px;
  padding: 8px 18px;
  transition: background 0.3s;
}

body.dark-mode .dark-mode-toggle {
  background: transparent !important;
}

.toggle-checkbox {
  display: none;
}

.toggle-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  width: 56px;
  height: 28px;
  /* background: #141414; */
  background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
  background-image: linear-gradient(to right, #7028e4 0%, #fbc2dd 100%);
  border-radius: 30px;
  transition: background 0.3s;
  margin: 0 0 0 8px;
}

body.dark-mode .toggle-label {
  background: #000000;
  background-image: linear-gradient(to left, #7028e4 0%, #ffc0dd 100%);
}

.toggle-label i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  transition: color 0.3s, opacity 0.3s;
}

.toggle-label .fa-moon {
  left: 8px;
  color: #333;
}

body.dark-mode .toggle-label .fa-moon {
  color: #ffffff;
  text-shadow: 0 0 8px #ffd600, 0 0 16px #fffde4, 0 0 24px #ffe066;
  filter: drop-shadow(0 0 6px #ffd600aa);
  transition: color 0.3s, text-shadow 0.3s, filter 0.3s;
}

.toggle-label .fa-sun {
  right: 8px;
  color: #f3ce12;
  filter: drop-shadow(0 0 12px #ffd600cc);
  transition: color 0.3s, text-shadow 0.3s, filter 0.3s;
  opacity: 0.7;
}

body.dark-mode .toggle-label .fa-sun {
  color: #fff176;
}

.toggle-ball {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.3s, background 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body.dark-mode .toggle-ball {
  background: #222244;
}

.toggle-checkbox:checked+.toggle-label .toggle-ball {
  left: 32px;
  background: #00c9ff;
}

body.dark-mode .toggle-checkbox:checked+.toggle-label .toggle-ball {
  background: #ffd600;
}

.toggle-checkbox:checked+.toggle-label .fa-moon {
  opacity: 0.5;
}

.toggle-checkbox:checked+.toggle-label .fa-sun {
  opacity: 1;
  color: #ffd600;
}

@media (max-width: 1245px) {
  .dark-mode-toggle {
    margin: 0 35px;
    z-index: -111;
    bottom: 16px;
    right: 50px;

    /* padding: 6px 12px; */
  }

  .toggle-label {
    width: 44px;
    height: 22px;
  }

  .toggle-ball {
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
  }

  .toggle-checkbox:checked+.toggle-label .toggle-ball {
    left: 23px;
  }
}








/* Hero */
.hero {
  height: 96vh;
  padding: 6rem 0 4rem;
  display: grid;
  place-items: center;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-color-light);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-text .accent {
  color: var(--accent);
  background-image: var(--lg2);
  background-clip: text;
  text-overflow: clip;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-illustration img {
  width: 950px;
  max-width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
  border-radius: var(--radius);
  margin-top: 2rem;
  height: auto;
  mix-blend-mode: color-burn;
  mix-blend-mode: multiply;
}

@media (max-width: 768px) {
  .hero-illustration {
    position: absolute;
    top: 0;
    z-index: -1;
    opacity: 0.4;
  }

  .hero-illustration {
    top: 0;
    margin-top: 1.5rem;
  }
}

/* Subpage Hero */
.hero-subpage {
  width: auto;
  padding: 5rem 0 2rem;
}

@media (max-width: 768px) {
  .hero-text h1 {
    border-radius: 1.5rem 0.5rem 1.5rem 0.5rem;
    width: 100%;
    padding: 10px 20px;
    font-size: 2.5rem;
    background: rgba(211, 211, 211, 0.208);
  }

  .hero-illustration img {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-illustration img {
    width: 100%;
    max-width: none;
  }
}

/* why choose us */

/* Why Choose Us Section */
.section-intro {
  text-align: center;
  /* margin-top: 3.5rem; */
  padding: 0 1rem;
}

.section-intro h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
  background-image: linear-gradient(to left, #c1c1c1 0%, rgb(0, 0, 0) 100%);
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1.2px;
  text-shadow: 0 4px 18px rgba(0, 201, 255, 0.1);
  animation: fadeInIntro 1s cubic-bezier(0.47, 1.64, 0.41, 0.8);

  & span {
    color: var(--accent);
    background-image: linear-gradient(to right, #92fe9d 0%, #00c9ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 18px rgba(0, 201, 255, 0.1);
    animation: fadeInIntro 1s cubic-bezier(0.47, 1.64, 0.41, 0.8);
  }
}

.section-intro p {
  width: 80%;
  font-size: 18px;
  color: #2f3546;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.92;
  line-height: 1.7;
  animation: fadeInIntro 1.3s 0.15s cubic-bezier(0.47, 1.64, 0.41, 0.8) both;
}

@keyframes fadeInIntro {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.wcu_boxs .wcu_boxs_num {
  width: 50px;
  height: 50%;
  border-radius: 10px 25px 10px 25px;
  background: var(--lg3);
  text-align: center;
  margin-bottom: 10px;
}

.wcu_boxs .num1 {
  color: var(--wt);
  background: var(--lg1);
}

.wcu_boxs .num2 {
  color: var(--wt);
  background: var(--lg2);
}

.wcu_boxs .num3 {
  color: var(--wt);
  background: var(--lg3);
}

.wcu_boxs .num4 {
  color: var(--wt);
  background: var(--lg4);
}

.wcu_boxs .num5 {
  color: var(--wt);
  background: var(--lg5);
}

.wcu_boxs .num6 {
  color: var(--wt);
  background: var(--lg6);
}

.wcu {
  padding: 60px 20px;
  background: #fff;
}

.wcu_inner_container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1300px;
  margin: auto;
}

.wcu_column {
  flex: 1 1 30%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 10px;
}

.wcu_center_img {
  flex: 1 1 25%;
  text-align: center;
  padding: 10px;
}

.wcu_center_img img {
  max-width: 300px;
  height: auto;
  border-radius: 12px;
  /* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15); */
  mix-blend-mode: multiply;
}

.wcu_boxs {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.wcu_boxs_num {
  min-width: 45px;
  min-height: 45px;
  border-radius: 50%;
  background: #00c9ff;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
}

.wcu_boxs_txt h2 {
  margin: 0;
  font-size: 1.2rem;
  color: #202020;
}

.wcu_boxs_txt p {
  font-size: 0.95rem;
  color: #555;
}

@media (max-width: 992px) {
  .wcu_inner_container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .wcu_column,
  .wcu_center_img {
    flex: 1 1 100%;
  }

  .wcu_center_img img {
    z-index: -1;
  }

  .wcu_boxs {
    justify-content: center;
  }
}

html {
  scroll-behavior: smooth;
}

/* Services Preview */
/* .service-card i.fas {
  font-size: 2rem;
  color: blue;
  margin-bottom: 1rem;
} */

/* Service Cards */

/* Grid Styling */
.grid-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Service Card Design */
.service-card {
  background-color: var(--ghost);
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
}

.service-card i.fas {
  font-size: 2.5rem;
  color: #4abee9;
  margin-bottom: 1rem;
  background-image: linear-gradient(to right, #92fe9d 0%, #00c9ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 18px rgba(0, 201, 255, 0.1);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #111;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

.service-card .link-arrow {
  color: #025d76;
  font-weight: 500;
  text-decoration: none;
  position: relative;
}

.service-card .link-arrow::after {
  content: "→";
  margin-left: 5px;
  transition: margin 0.3s ease;
  color: #111;
}

.service-card:hover {
  transform: translateX(-10px) scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  background-image: linear-gradient(to right, #86e8dd 0%, #000101 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 18px rgba(0, 201, 255, 0.1);
  animation: fadeInIntro 1s cubic-bezier(0.47, 1.64, 0.41, 0.8);
}

/* Fix link-arrow color on service-card hover */
.service-card:hover .link-arrow {
  color: #5bc2de !important;
  -webkit-text-fill-color: #025d76 !important;
  background-image: none !important;
  background-clip: border-box !important;
}

.service-card:hover .link-arrow::after {
  margin-left: 10px;
  color: rgb(0, 15, 15);
}

/* project */

.project-slider-section {
  padding: 80px 0;
  background-color: #f7f7f7;
}

.swiper {
  width: 100%;
  padding: 40px 0;
}

.swiper-slide {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, opacity 0.3s;
}

.swiper-slide img {
  width: 100%;
  height: max-content;
  object-fit: cover;
  display: block;
}

.swiper-slide .slide-caption {
  padding: 20px;
  text-align: center;
}

.swiper-slide h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.swiper-slide p {
  font-size: 0.9rem;
  color: #555;
}

.swiper-slide:not(.swiper-slide-active) {
  opacity: 0.4;
  transform: scale(0.92);
}

/* Nav buttons */
.project-slider-section .swiper-button-next,
.project-slider-section .swiper-button-prev {
  color: #000617 !important;
}

.slide-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.slide-hover {
  position: relative;
  overflow: hidden;
}

.slide-hover img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.slide-hover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  color: #fff;
  padding: 20px;
  text-align: center;
  opacity: 0;
  z-index: 2;
  transform: translateY(20px);
  transition: all 0.4s ease;
  background: rgba(0, 0, 0, 0.4);
}

.slide-link:hover img {
  transform: scale(1.05);
}

.slide-link:hover .slide-hover::after {
  opacity: 1;
}

.slide-link:hover .slide-caption {
  opacity: 1;
  transform: translateY(0);
}

.icon-box {
  width: 60px;
  height: 60px;
  background: #eef5ff;
  color: #005eff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  margin: 0 auto 1rem;
  transition: transform 0.3s ease;
}

.service-card:hover .icon-box {
  transform: scale(1.1) rotate(5deg);
  background: #005eff;
  color: white;
}

/* Testimonials */
/* .testimonialSwiper {
  max-width: 800px;
  margin: 2rem auto;
  position: relative;
  padding-bottom: 40px;
}

.testimonialSwiper .swiper-slide {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.4s ease;
}

.testimonialSwiper blockquote {
  font-size: 1.4rem;
  font-style: italic;
  font-family: cursive, auto;

  color: #333;
  margin-bottom: 1rem;
}

.testimonialSwiper figcaption {
  font-weight: 600;
  color: #666;
  font-size: 0.9rem;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color);
}

.testimonials .section-title {
  text-align: center;
  margin-bottom: 1.8rem;
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(90deg, #25a2fc 0%, #6a11cb 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
  text-shadow: 0 4px 18px rgba(38, 37, 251, 0.1);
  animation: fadeInIntro 1s cubic-bezier(0.47, 1.64, 0.41, 0.8);
} */

/* Team Testimonials Section */
/* Team Testimonials - Modern Style */
.team-testimonials {
  height: 120vh;
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9ff 0%, #eef1ff 100%);

  position: relative;
  overflow: hidden;
}

/* Dark Mode Styles */
body.dark-mode .team-testimonials {
  background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%);
}

body.dark-mode .team-testimonials .section-title,
body.dark-mode .team-testimonials .section-subtitle,
body.dark-mode .team-testimonials .testimonial-card h3,
body.dark-mode .team-testimonials .testimonial-card p,
body.dark-mode .team-testimonials .card-back p {
  color: #fff;
}

body.dark-mode .team-testimonials .testimonial-card {
  background: #252525;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.dark-mode .team-testimonials .card-back,
.card-front {
  background: #2d2d2d5a;
}

body.dark-mode .team-testimonials .card-front {
  background: #2d2d2d74;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.044);
}

body.dark-mode .testimonial-card .card-front p {
  color: #6c63ff;
  background-image: linear-gradient(to right, #92fe9d 0%, #00c9ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
  margin-bottom: 20px;
}

body.dark-mode.team-testimonials .tech-stack span {
  background: #3a3a3a;
  color: #ddd;
}

.team-testimonials .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.team-testimonials .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.team-testimonials .section-titlee {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #6c63ff, #ff6584);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

.team-testimonials .section-title span {
  position: relative;
}

.team-testimonials .section-title span::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #6c63ff, #ff6584);
}

.team-testimonials .section-subtitle {
  color: #666;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  perspective: 1000px;
  height: 400px;
  border-radius: 20px;
}

.team-testimonials .card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  border-radius: 20px;
}

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

.team-testimonials .card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.team-testimonials .card-front {
  background: white;
  box-shadow: 0 15px 35px rgba(108, 99, 255, 0.1);
}

.team-testimonials .card-back {
  background: #f8f9ff;
  transform: rotateY(180deg);
}

.team-testimonials .team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 25px;
  position: relative;
  overflow: hidden;
  border: 3px solid #6c63ff;
}

.team-testimonials .team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.team-testimonials .shine-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.3) 50%,
      rgba(255, 255, 255, 0) 100%);
  transition: all 0.5s ease;
}

.testimonial-card:hover .shine-effect {
  left: 100%;
}

.testimonial-card h3 {
  font-size: 1.4rem;
  margin-bottom: 5px;
  color: #333;
}

.testimonial-card p {
  color: #6c63ff;
  font-weight: 500;
  margin-bottom: 20px;
}

.team-testimonials .quote-icon {
  font-size: 2.5rem;
  color: #6c63ff;
  opacity: 0.2;
  margin-bottom: 20px;
}

.team-testimonials .card-back p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 30px;
}

.team-testimonials .tech-stack {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.team-testimonials .tech-stack span {
  background: #eef1ff;
  color: #6c63ff;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.testimonial-card:nth-child(1) .team-photo {
  animation: float 4s ease-in-out infinite;
}

.testimonial-card:nth-child(2) .team-photo {
  animation: float 4s ease-in-out infinite 0.5s;
}

.testimonial-card:nth-child(3) .team-photo {
  animation: float 4s ease-in-out infinite 1s;
}

/* Responsive Design */
@media (max-width: 768px) {
  .team-testimonials {
    height: auto;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    height: 350px;
  }

  .team-testimonials .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .team-testimonials {
    padding: 70px 0;
  }

  .team-testimonials .card-front,
  .card-back {
    padding: 30px;
  }
}

/* Timeline */
.timeline-wrapper {
  border-left: 3px solid var(--accent);
  padding-left: 2rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-point {
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  left: -39px;
  top: 0.35rem;
}

/* Projects */
.filter-controls {
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 2px solid var(--accent);
  background: transparent;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent);
  color: #fff;
}

.projects-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-info {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(10, 13, 41, 0.85);
  color: #fff;
  padding: 1rem;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

/* Contact */

.footer-wave-svg {
  background-color: transparent;
  display: block;
  height: 30px;
  position: relative;
  top: -80px;
  width: 100%;
}

.footer-wave-path {
  fill: #fffff2;
}

body.dark-mode .footer-wave-path {
  fill: #1e1e1e;
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  color: white;
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h3 {
  color: white !important;
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-col p {
  color: #bbb;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 15px;
}

.footer-col ul li a {
  color: #bbb;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-col .social-links {
  display: flex;
  gap: 10px;
  margin-top: 30px;

  & .facebook {
    padding: 15px;
    border-radius: 50%;
    color: #1877f3;
    background: rgba(24, 119, 242, 0.08);
    box-shadow: 0 0 0 transparent;
    transition: box-shadow 0.3s, background 0.3s;
  }

  & .facebook:hover {
    background: #1877f3;
    color: #fff;
    box-shadow: 0 0 16px #1877f3cc, 0 0 4px #1877f399;
  }

  & .insta {
    padding: 15px;
    border-radius: 50%;
    color: #e1306c;
    background: rgba(225, 48, 108, 0.08);
    box-shadow: 0 0 0 transparent;
    transition: box-shadow 0.3s, background 0.3s;
  }

  & .insta:hover {
    background: linear-gradient(45deg, #fd1d1d, #fcb045, #e1306c, #405de6);
    color: #fff;
    box-shadow: 0 0 16px #e1306ccc, 0 0 4px #fd1d1d99;
  }

  & .twitter {
    padding: 15px;
    border-radius: 50%;
    color: #1da1f2;
    background: rgba(29, 161, 242, 0.08);
    box-shadow: 0 0 0 transparent;
    transition: box-shadow 0.3s, background 0.3s;
  }

  & .twitter:hover {
    background: #1da1f2;
    color: #fff;
    box-shadow: 0 0 16px #1da1f2cc, 0 0 4px #1da1f299;
  }

  & .linkedin {
    padding: 15px;
    border-radius: 50%;
    color: #0077b5;
    background: rgba(0, 119, 181, 0.08);
    box-shadow: 0 0 0 transparent;
    transition: box-shadow 0.3s, background 0.3s;
  }

  & .linkedin:hover {
    background: #0077b5;
    color: #fff;
    box-shadow: 0 0 16px #0077b5cc, 0 0 4px #0077b599;
  }
}

.footer-col .social-links h3 {
  margin-bottom: 15px;
}

.footer-col .social-icons {
  display: flex;
  gap: 25px;
}

.footer-col .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

.footer-col .social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.newsletter-form {
  display: flex;
  margin-top: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 50px 0 0 50px;
  font-family: "Poppins", sans-serif;
}

.newsletter-form button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0 20px;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  color: #bbb;
  font-size: 0.9rem;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  color: #bbb;
  margin: 0 10px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

/* CTA Banner */
.cta-banner {
  width: 100%;
  background: linear-gradient(100deg, #fafdff 0%, #e0eafc 100%);
  color: #1a1a40;
  padding: 3rem 0 2.5rem 0;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: 0 6px 24px rgba(207, 222, 243, 0.13),
    0 1.5px 8px rgba(224, 234, 252, 0.1);
  position: relative;
  overflow: hidden;
}

.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.cta-banner::before {
  top: -60px;
  left: -60px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, #fff 0%, #e0eafc55 100%);
  opacity: 0.18;
}

.cta-banner::after {
  bottom: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, #fff 0%, #fafdff55 100%);
  opacity: 0.13;
}

/* Unique, simple square CTA button */
.cta-banner .container a {
  display: inline-block;
  padding: 0.6em 1rem;
  font-size: 1.13rem;
  font-weight: 700;
  border: none;
  border-radius: 0.5rem 23px 0.5rem 23px;
  background: linear-gradient(100deg, #00c9ff 0%, #92fe9d 100%);
  color: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 201, 255, 0.1);
  cursor: pointer;
  transition: box-shadow 0.25s cubic-bezier(0.47, 1.64, 0.41, 0.8),
    transform 0.18s cubic-bezier(0.47, 1.64, 0.41, 0.8), background 0.3s;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.cta-banner .btn-cta::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0.03) 100%);
  opacity: 0.7;
  pointer-events: none;
  border-radius: 0.5rem;
  transition: opacity 0.3s;
}

.cta-banner a:hover,
.cta-banner a:focus {
  background: linear-gradient(100deg, #92fe9d 0%, #00c9ff 100%);
  color: #1a1a40;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 6px 24px rgba(0, 201, 255, 0.13),
    0 2px 12px rgba(38, 249, 215, 0.13);
  outline: 2px solid #00c9ff;
}

.cta-banner .btn-cta:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(38, 249, 215, 0.1);
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  background: linear-gradient(90deg, #2575fc 0%, #6a11cb 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

.cta-banner p {
  font-size: 1.13rem;
  margin-bottom: 1.3rem;
  color: #1a1a40cc;
}

/* Global Fade-In Animation */

#scrollToTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  font-size: 18px;
  background-image: linear-gradient(to top, #b3ffab 0%, #12fff7 100%);
  color: white;
  border: none;
  padding: 16px 18px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: opacity 0.4s;
}

#scrollToTop:hover {
  transition: all 0.3s ease;
  transform: translateY(-5px);
  background-color: #00aaff;
}

/* .team-section {
  padding: 60px 0;
  background: #f9f9f9;
}

.team-card {
  backdrop-filter: blur(5px);
  background-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.044);
  border: 1px solid rgba(128, 128, 128, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.team-card img {
  width: 120px;
  aspect-ratio: 1;
  border-radius: 50%;
  margin-bottom: 15px;
}

.team-card:hover {
  transform: translateY(-10px);
}
 */

/* Team Experts Section */
.team-section {
  padding: 80px 40px;
  background-color: #fff;
  text-align: center;
}

.team-section h2 {
  font-size: 2.5rem;
  color: #001f3f;
  margin-bottom: 40px;
  animation: fadeInDown 1s ease-out;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.team-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background-color: #f9f9f9;
  padding: 30px 20px;
  border-radius: 16px;
  width: 260px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: fadeInUp 1s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #001f3f;
  margin-bottom: 15px;
  transition: transform 0.4s ease;
}

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

.team-card h3 {
  margin-bottom: 8px;
  color: #001f3f;
  font-size: 1.3rem;
}

.team-card p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.read-btn {
  padding: 8px 18px;
  background-color: #001f3f;
  background-image: linear-gradient(to top, #09203f 0%, #537895 100%);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.read-btn:hover {
  background-color: #ff69b4;
  background-image: linear-gradient(-45deg, #ffc796 0%, #ff6b95 100%);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* .contact-section {
  padding: 4rem 1rem;
  background: #f5f5f5;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  margin: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.contact-form,
.contact-info {
  flex: 1 1 20px;
  padding: 2rem;
}

.contact-form h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-form p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: #333;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem 1rem;
  border: none;
  border-bottom: 2px solid #ccc;
  background: transparent;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #5f2c82;
}

.contact-form button {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  background: linear-gradient(90deg, #9900ff, #00fff7);
  color: #fff;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: linear-gradient(90deg, #00fff7, #9900ff);
}

.contact-info {
  background: #222;
  background-image: linear-gradient(to right, #00dbde 0%, #fc00ff 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.contact-info i {
  margin-right: 0.75rem;
  color: #00d8ff;
}




/* Responsive *
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-form,
  .contact-info {
    padding: 1.5rem;
  }

  .contact-info {
    border-top: 1px solid #333;
  }
} */


.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.contact-form,
.contact-info {
  flex: 1 1 300px;
  padding: 2rem;
}

/* Contact Info */
.contact-info {
  background: linear-gradient(135deg, #2c3e50, #4a6491);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.contact-info p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.contact-info a {
  color: #00d8ff;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-info a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Contact Form */
.contact-form h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.input-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 1rem;
  border: none;
  border-bottom: 2px solid #ddd;
  background: transparent;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s;
}

.input-group textarea {
  resize: vertical;
  min-height: 120px;
}

.input-group label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: #777;
  transition: all 0.3s;
  pointer-events: none;
}

.input-group input:focus+label,
.input-group input:valid+label,
.input-group textarea:focus+label,
.input-group textarea:valid+label {
  top: -0.5rem;
  left: 0;
  font-size: 0.8rem;
  color: #5f2c82;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: #5f2c82;
}

/* reCAPTCHA */
.g-recaptcha {
  margin: 1.5rem 0;
}

/* Button */
.gradient-btn {
  position: relative;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #9900ff, #00fff7);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s;
  width: 100%;
  margin-top: 1rem;
}

.gradient-btn:hover {
  background: linear-gradient(90deg, #00fff7, #9900ff);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

/* Loading Spinner */
.loading-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.gradient-btn.loading .btn-text {
  visibility: hidden;
}

.gradient-btn.loading .loading-spinner {
  display: block;
}

/* Success Popup */
.success-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.success-popup.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
}

.popup-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
}

.popup-icon img {
  width: 100%;
  height: auto;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #888;
}

.popup-close-btn {
  background: linear-gradient(90deg, #9900ff, #00fff7);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 1rem;
  font-size: 1rem;
  transition: all 0.3s;
}

.popup-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .contact-form,
  .contact-info {
    padding: 1.5rem;
  }

  .contact-info {
    order: -1;
  }
}











/* about page */
.about-nivratech {
  padding-top: 6rem;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content {
  padding-right: 2rem;
}

.section-titlee {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
  background-image: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
  background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
  background-clip: text;
  background-clip: text;
  text-overflow: clip;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* text-shadow: 0 4px 15px rgba(41, 41, 42, 0.3); */
}

.title-underline {
  width: 300px;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

.about-lead {
  font-size: 1.5rem;
  color: #2563eb;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.about-text {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.about-cta {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  transition: transform 0.3s ease;
}

.about-cta:hover {
  transform: translateY(-2px);
}

.about-image-wrapper {
  position: relative;
  padding: 2rem;
}

.image-border {
  position: absolute;
  top: 0;
  right: 0;
  width: 90%;
  height: 90%;
  border: 3px solid #2563eb;
  border-radius: 20px;
  z-index: 1;
}

.floating-image {
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.floating-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  mix-blend-mode: multiply;
}

.experience-badge {
  position: absolute;
  bottom: 2rem;
  left: 0;
  background: white;
  padding: 1rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 3;
}

.experience-badge .number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #2563eb;
}

.experience-badge .text {
  font-size: 0.9rem;
  color: #4b5563;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-content {
    padding-right: 0;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .image-border {
    width: 95%;
  }
}

@media (max-width: 768px) {
  .about-nivratech {
    padding-top: 3rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    justify-items: center;
    justify-items: center;
    /* ✅ Center grid items horizontally */
    text-align: center;
    /* Optional: for aligning text */
  }

  .about-content {
    padding-right: 0;
    text-align: center;
  }

  .section-titlee {
    font-size: 2rem;
  }

  .title-underline {
    width: 120px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-lead {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .about-text {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .about-image-wrapper {
    padding: 1rem;
    margin: 0 auto;
    width: 100%;
    max-width: 350px;
  }

  .image-border {
    width: 98%;
    height: 98%;
    border-width: 2px;
  }

  .floating-image img {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    border-radius: 16px;
  }

  .experience-badge {
    position: static;
    margin: 1.2rem auto 0 auto;
    display: inline-block;
    width: auto;
    min-width: 120px;
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .about-nivratech {
    padding-top: 1.5rem;
  }

  .section-titlee {
    font-size: 1.3rem;
  }

  .about-lead {
    font-size: 1rem;
  }

  .about-image-wrapper {
    padding: 0.5rem;
    max-width: 98vw;
  }

  .image-border {
    border-width: 1.5px;
  }

  .experience-badge {
    font-size: 0.95rem;
    padding: 0.5rem 0.7rem;
    min-width: 90px;
  }
}





.value-card {
  background: #fff;
  padding: 2rem;
  aspect-ratio: 1;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s;
  position: relative;
  /* overflow: hidden; */
  cursor: pointer;
  box-shadow: var(--shadow);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);
}

.value-card .icon-box {
  font-size: 2.5rem;
  color: #4a00e0;
  margin-bottom: 1rem;
}

/* Flip card for values */
.flip-card {
  perspective: 1000px;
}

.flip-inner {
  transition: transform 0.6s;
  transform-style: preserve-3d;
  position: relative;
}

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

.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  backface-visibility: hidden;
  padding: 1.5rem;
  border-radius: 12px;
}

.flip-front {
  background: #fff;
}

.flip-back {
  background: #fff;
  transform: rotateY(180deg);
}

.flip-back ul {
  list-style: none;
  padding-left: 0;
}

.flip-back ul li {
  margin: 0.5rem 0;
  font-weight: 500;
}

.glowing {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glowing:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(74, 0, 224, 0.3);
}

.icon-box {
  font-size: 2.5rem;
  color: #4a00e0;
  margin-bottom: 1rem;
}

/* Stats section */
.stats-section {
  width: 100%;
  display: grid;
  place-items: center;
  padding: 35px;
  background: linear-gradient(135deg, #FFDEE9, #B5FFFC);
  margin-top: 2rem;
}

.stats-grid {
  display: flex;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8rem;
  padding: 15px;
  margin-top: 1.5rem;
}

.stat h2 {
  font-size: 2.5rem;
  color: #4a00e0;
  background-image: linear-gradient(to right, #00e5ff 0%, #4a00e0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 4px 15px 4px #b5b5b55b;
  animation: fadeInIntro 1s cubic-bezier(0.47, 1.64, 0.41, 0.8);
  margin: 0;
  font-weight: 700;
  text-align: center;
  transition: transform 0.3s ease;
}

.stat p {
  font-weight: 500;
  margin-top: 0.5rem;
}



/* Responsive for .stats-section and .stats-grid */
@media (max-width: 900px) {
  .stats-grid {
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
  }

  .stats-section {
    padding: 25px;
  }
}

@media (max-width: 600px) {
  .stats-section {
    padding: 12px;
  }

  .stats-grid {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-top: 1rem;
  }

  .stat h2 {
    font-size: 1.5rem;
  }

  .stat p {
    font-size: 0.95rem;
  }
}

.values-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.value-cards {
  width: 800px;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.value-cards .icon-box {
  font-size: 2.5rem;
  color: #4a00e0;
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .value-cards {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    padding: 1.2rem;
    gap: 1.2rem;
  }
}

@media (max-width: 600px) {
  .value-cards {
    grid-template-columns: 1fr;
    width: 100%;
    padding: 1rem;
    gap: 1rem;
  }
}












/* service page */

/* Tabs */
.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  background: #eaeaea;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.tab-btn i {
  margin-right: 8px;
}

.tab-btn.active {
  background: #5500ffe1;
  background-image: linear-gradient(-225deg,
      #ac32e4 0%,
      #7918f2 48%,
      #4801ff 100%);
  color: white;
  transform: scale(1.05);
}

.tab-btn:hover {
  background: #beb4fec0;
  color: #001aff;
  transform: scale(1.02);
}

/* Tab Content */
.tab-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
  transition: opacity 0.5s ease;
}

.tab-pane {
  display: none;
  animation: fadeInslide 0.5s ease-in-out;
}

.tab-pane.active {
  display: block;
}

.tab-pane h3 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #4a00e0;
}

.tab-pane ul {
  margin-top: 1rem;
  padding-left: 1rem;
}

.tab-pane li {
  list-style: disc;
  margin-bottom: 0.5rem;
}

@keyframes fadeInslide {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 600px) {
  .tab-btn {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }
}

.pricing-section {
  width: 100%;
  padding: 60px 20px;
  background: #f9f9ff;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.pricing-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.pricing-card:hover {
  transform: translateY(-8px);
}

.pricing-card h3 {
  font-size: 24px;
  color: #222;
  margin-bottom: 10px;
}

.pricing-card .price {
  font-size: 28px;
  color: #e91e63;
  font-weight: bold;
  margin-bottom: 20px;
}

.pricing-card ul.features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
}

.features li {
  margin-bottom: 10px;
  font-size: 15px;
}

.features li::before {
  content: "✔";
  color: #00c853;
  margin-right: 8px;
  font-weight: bold;
}

.features li:has(:not(:contains("✅")))::before {
  content: "✘";
  color: #e53935;
}

.btn-whatsapp {
  background: linear-gradient(90deg, #00ff84, #00c3ff);
  color: #fff;
  padding: 10px 18px;
  border-radius: 25px;
  display: inline-block;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
}

.btn-whatsapp i {
  margin-right: 5px;
}

.pricing-card.highlight {
  border: 2px solid #ff4081;
  box-shadow: 0 0 20px rgba(255, 64, 129, 0.2);
  background: linear-gradient(135deg, #ffffff, #fff0f5);
}

.service-price-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.service-price-card:hover {
  transform: translateY(-5px);
}

.service-price-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.service-price-card .description {
  color: #666;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.service-price-card .price {
  font-size: 1.1rem;
  color: var(--primary);
  color: rgb(255, 82, 157);

  font-weight: 600;
  margin-bottom: 1rem;
}

.service-price-card .btn {
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
}

.pricing .secondary,
.individual-pricing .secondary {
  color: var(--dark-gray);
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.pricing .secondary:hover,
.individual-pricing .secondary:hover {
  background: #e0e0e0;
  transform: translateY(-2px);
}

.pricing-card.highlight {
  border: 2px solid #ff000823;
  background: linear-gradient(135deg, #e6f6ff, #fff);
  box-shadow: 0 0 20px rgba(255, 0, 17, 0.3);
}

/* contact page */

.contact-section {
  padding: 4rem 1rem;
  background: #f9f9f9;
}

.contact-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
}

.contact-info {
  flex: 1;
  background-image: linear-gradient(to right, #00dbde 0%, #fc00ff 100%);
  color: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  min-width: 280px;
  transition: transform 0.3s ease;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin: 0.8rem 0;
  font-weight: 500;
}

.contact-info a {
  color: #fff;
  text-decoration: underline;
}

.contact-form {
  flex: 1;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  min-width: 280px;
}

.input-group {
  position: relative;
  margin-bottom: 2rem;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 1rem 0.75rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid #cccccc96;
  background-image: linear-gradient(to right, #030303, #fc00ff 100%);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.2rem;
  transition: border-color 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-bottom-color: #00ffa6;
}

.input-group label {
  position: absolute;
  left: 0.75rem;
  top: 1rem;
  font-size: 1rem;
  color: #666;
  pointer-events: none;
  transition: 0.3s;
}

.input-group input:focus+label,
.input-group input:not(:placeholder-shown)+label,
.input-group textarea:focus+label,
.input-group textarea:not(:placeholder-shown)+label {
  top: -0.7rem;
  font-size: 1rem;
  color: #001014;
  background: white;
  padding: 0 0.3rem;
}

.gradient-btn {
  width: 100%;
  padding: 0.9rem;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(to right, #00f0ff, #00ff94);
  color: #000;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.3s;
}

.gradient-btn:hover {
  transform: scale(1.02);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .map-container iframe {
    width: 500px;
    height: 500px;
  }
}

.map-container {
  padding: 15px 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: auto;
  margin: 30px;
  min-width: 280px;
  border-radius: 12px;
  overflow: hidden;
}

.map-container iframe {
  width: 1100px;
  height: 500px;
  /* height: 100%; */
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 201, 255, 0.1);
  display: block;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .map-container {
    padding: 10px 0;
    display: grid;
    place-items: center;
    width: 100%;
    height: auto;
    margin: 0;
    min-width: 0;
    border-radius: 12px;
    overflow: hidden;
  }

  .map-container iframe {
    width: 100%;
    height: 300px;
    min-width: 0;
    padding: 0;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .map-container iframe {
    height: 200px;
  }
}

/* rating section  */

.rating-wrapper {
  padding: 4rem 2rem;
  background: linear-gradient(to right, #f0faff, #e6fff9);
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  margin: 4rem auto;
  max-width: 1100px;
}

.section-title {
  text-align: center;
  font-size: 2.3rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: #0a0a0a;
  background: linear-gradient(to right, #00ffe0, #ffea00);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rating-content {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
}

.chart-box {
  height: 350px;
  flex: 1 1 350px;
  background: #fff;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);

  /* Ensure canvas fills the chart box responsively and add a subtle background */
  & canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin: 0 auto;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 201, 255, 0.07);
  }
}

.bars-box {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.bar-item span {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #222;
}

.bar {
  width: 100%;
  height: 14px;
  background: #e0e0e0;
  border-radius: 7px;
  overflow: hidden;
}

.fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #00ffe0, #ffea00);
  transition: width 1s ease;
}

.touch-btn {
  margin: 2rem auto 0;
  display: block;
  padding: 0.7rem 1.8rem;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  background: linear-gradient(to right, #00ffe0, #ffea00);
  color: #000;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 255, 224, 0.3);
  transition: transform 0.3s;
}

.touch-btn:hover {
  transform: scale(1.05);
}

@media (max-width: 992px) {
  .rating-wrapper {
    padding: 2.5rem 1rem;
    max-width: 98vw;
  }

  .rating-content {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .chart-box,
  .bars-box {
    width: 100%;
    min-width: 0;
    flex: 1 1 100%;
    padding: 1rem;
  }
}

@media (max-width: 600px) {
  .rating-wrapper {
    padding: 1.2rem 0.2rem;
    margin: 2rem 0.2rem;
    border-radius: 10px;
  }

  .section-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .chart-box,
  .bars-box {
    padding: 0.5rem;
    border-radius: 8px;
  }

  .bar {
    height: 10px;
    border-radius: 5px;
  }

  .touch-btn {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    border-radius: 20px;
  }
}

.tab-content .tab-pane {
  display: none;
}

.tab-content .tab-pane.active {
  display: block;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.tab-btn {
  background: #eee;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.tab-btn.active {
  background: #4a00e0;
  color: #fff;
}

/* project shows css style  */
:root {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --secondary-color: #f1f5f9;
  --accent-color: #06b6d4;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  --border-radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Project Showcase Section */
.project-showcase {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  font-family: "Inter", "Segoe UI", sans-serif;
  position: relative;
  overflow: hidden;
}

.project-showcase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-titles {
  text-align: center;
  font-size: 38px;
  font-weight: 800;

  margin-bottom: 16px;
  background-image: linear-gradient(#ae00ff 0%, #02d0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

/* Project Card */
.project-card {
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  outline: none;
}

.project-card:hover,
.project-card:focus {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.project-card:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
}

.card-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Image Wrapper */
.image-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: linear-gradient(45deg, #f1f5f9, #e2e8f0);
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: var(--transition);
}

.project-card:hover .image-wrapper img {
  transform: scale(1.1);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, #92fe9d83 0%, #00c8ff60 100%);
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .image-overlay {
  opacity: 1;
}

/* Card Content */
.card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.project-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.project-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--accent-color));
  color: var(--white);
  border-radius: 20px;
  opacity: 0.9;
}

/* Card Hover Overlay */
.card-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, #00ff8c, #00f5fd);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  border-radius: var(--border-radius);
}



.project-card:hover .card-hover-overlay {
  opacity: 1;
}

.hover-content {
  text-align: center;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: var(--transition);
}

.project-card:hover .hover-content {
  transform: translateY(0);
}

.hover-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  display: block;
  transform: scale(-1);

  transition: all linear 0.4s;

}

.project-card:hover .hover-icon {
transform: scale(1.2);
}


.hover-text {
  font-size: 1.125rem;
  font-weight: 600;
}

/* View All Button */
.center {
  text-align: center;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--primary-dark));
  color: var(--white);
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.view-all-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent-color));
  opacity: 0;
  transition: var(--transition);
}

.view-all-btn:hover::before {
  opacity: 1;
}

.view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.view-all-btn span,
.arrow-icon {
  position: relative;
  z-index: 1;
}

.arrow-icon {
  width: 20px;
  height: 20px;
  transition: var(--transition);
}

.view-all-btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* Modal Styles */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 9999;
  padding: 20px;
  opacity: 0;
  height: auto;
  transition: var(--transition);
}

.modal-backdrop.show {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal-container {
  background: rgba(255, 255, 255, 0.916);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #000 !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  height: auto;
  overflow: hidden;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: var(--transition);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-backdrop.show .modal-container {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  color: #000 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  color: #000 !important;
  transition: all 0.5s ease;
}

.modal-header a:hover {
  background-color: lightgray;
  color: black !important;
}

.close-modal {
  background: rgba(4, 4, 4, 0.119);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--white);
  color: black !important;
}

.modal-header svg {
  color: black !important;
}

.close-modal:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.dark-mode .modal-header svg {
  color: white !important;
}

.close-modal svg {
  width: 20px;
  height: 20px;
}

.view-project-link {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #dfefff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.view-project-link:hover {
  color: #000000;
  background-color: #f0f7ff13;
}

.external-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}



.modal-body {
  padding: 35px;
  height: 100vh;
}



/* Swiper Customization */
.modalSwiper {
  border-radius: 16px;
  overflow: hidden;
}

.modalSwiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.1);
}

.modalSwiper .swiper-slide img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  height: auto;
  border-radius: 12px;
}

/* Custom Navigation */
.custom-nav-btn {
  width: 48px !important;
  height: 48px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50% !important;
  color: var(--white) !important;
  transition: var(--transition) !important;
}

.custom-nav-btn:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  transform: scale(1.1);
}

.custom-nav-btn svg {
  width: 20px;
  height: 20px;
}

.custom-nav-btn::after {
  display: none;
}

/* Custom Pagination */
.custom-pagination {
  bottom: 20px !important;
}

.custom-pagination .swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background: rgba(255, 255, 255, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  opacity: 1 !important;
  transition: var(--transition) !important;
}

.custom-pagination .swiper-pagination-bullet-active {
  background: var(--white) !important;
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .project-showcase {
    padding: 60px 16px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }

  .project-card {
    max-width: 100%;
  }

  .modal-body {
    height: auto;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
  }

 .modal-container {
        width: 100vw;
        height: 50vh;
        margin: 0;
        padding: 0;
        border-radius: 0;
        border-radius: 25px;
        display: flex;
        flex-direction: column;
    }

  .modal-header {
    padding: 20px 24px;
  }

  .modal-body {
    padding: 24px;
  }

  .modalSwiper .swiper-slide img {
    max-height: 300px;
  }

  .custom-nav-btn {
    width: 40px !important;
    height: 40px !important;
  }
}

@media (max-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card-content {
    padding: 20px;
  }

  .view-all-btn {
    padding: 14px 28px;
    font-size: 0.9rem;
  }
}

/* Focus and Accessibility */
.project-card:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
}

.close-modal:focus-visible,
.view-all-btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}




/* price section in services page */
/* Pricing Section */
.pricing-section {
  padding: 100px 0;
  background-color: rgba(211, 211, 211, 0.195);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  background-image: linear-gradient(to right, #00dbde 0%, #fc00ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-toggle {
  display: flex;
  place-items: center;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}

.pricing-toggle .togglee-label {
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  place-items: center;
  width: 100px;
  height: 40px;
  font-size: 14px;
  font-weight: 400;
  color: rgb(0, 0, 0);
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: var(--transition);
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: var(--transition);
}

input:checked+.slider {
  background-color: var(--primary);
}

input:checked+.slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.discount-badge {
  color: white;
  background: linear-gradient(90deg, #25a2fc 0%, #6a11cb 100%);
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-left: 8px;
  margin-left: 20px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.pricing-card {
  background-color: white;
  border-radius: 10px;
  padding: 40px 30px;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: translateY(-10px);
}

.pricing-card.featured:hover {
  transform: translateY(-20px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background-color: var(--primary);
  color: white;
  padding: 5px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.pricing-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.pricing-header p {
  color: var(--text-light);
}

.price {
  margin-top: 20px;
}

.price .currency {
  font-size: 1.5rem;
  vertical-align: top;
  margin-right: 2px;
}

.price .amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.price .period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
  margin-top: 5px;
}

.monthly-price {
  display: block;
}

.annual-price {
  display: none;
}

.pricing-features {
  margin-bottom: 30px;
}

.pricing-features ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pricing-features li {
  display: flex;
  align-items: center;
}

.pricing-features i {
  color: var(--primary);
  margin-right: 10px;
  font-size: 0.9rem;
}

.pricing-footer {
  text-align: center;
}



/* Responsive Design */
@media (max-width: 768px) {
  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .pricing-toggle {
    flex-direction: column;
    gap: 10px;
  }
}

/* Features Comparison Table */
.features-comparison {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.comparison-table {
  overflow-x: auto;
  margin-top: 50px;
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 500;
}

tr:nth-child(even) {
  background-color: var(--bg-light);
}

td i.fa-check {
  color: var(--primary-color);
}

td i.fa-times {
  color: var(--accent-color);
}


@media (max-width: 768px) {

  /* Features Comparison Table Responsive */
  .features-comparison {
    padding: 50px 0;
  }

  .comparison-table {
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow-x: auto;
    width: 100%;
  }

  .comparison-table table {
    min-width: 600px;
    font-size: 14px;
  }

  th,
  td {
    padding: 10px;
    font-size: 14px;

  }
}

@media (max-width: 480px) {
  .features-comparison {
    padding: 30px 0;
  }

  .comparison-table {
    margin-top: 18px;
    border-radius: 6px;
  }

  .comparison-table table {
    min-width: 420px;
    font-size: 0.93rem;
  }

  th,
  td {
    padding: 7px;
    font-size: 14px;
  }
}


/* FAQ Section */
.faq-section {
  padding: 100px 0;
}

.faq-accordion {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  padding: 20px;
  background-color: white;
  border: none;
  text-align: left;
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: var(--bg-light);
}

.faq-question i {
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: white;
}

.faq-answer p {
  padding: 0 20px 20px;
  color: rgb(0, 0, 46);
}

/* Container styling */
.faq-more-btn-container {
  text-align: center;
  margin: 3rem 0;
  padding: 1rem;
}

/* Base button styling */
.faq-more-button {
  position: relative;
  padding: 1.5rem 3.2rem;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.2);
  z-index: 1;
}

/* Text states */
.faq-more-button span {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 12px;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
  width: 100%;
}

.faq-more-button .default-text {
  opacity: 1;
}

.faq-more-button .hover-text {
  opacity: 0;
  transform: translate(-50%, 100%);
}

.faq-more-button .loading-text {
  opacity: 0;
  transform: translate(-50%, -150%);
}

/* Hover state */
.faq-more-button:hover .default-text {
  opacity: 0;
  transform: translate(-50%, -100%);
}

.faq-more-button:hover .hover-text {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* Loading state */
.faq-more-button.loading .default-text,
.faq-more-button.loading .hover-text {
  opacity: 0;
  transform: translate(-50%, 100%);
}

.faq-more-button.loading .loading-text {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.faq-more-button.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  z-index: 2;
}

/* Success state (optional) */
.faq-more-button.success {
  background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

/* Error state (optional) */
.faq-more-button.error {
  background: linear-gradient(135deg, #F44336 0%, #C62828 100%);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 
.faq-more-btn-wrap {
  text-align: center;
  margin-top: 34px;
}
.faq-more-btn {
  padding: 8px 24px;
  font-size: 1rem;
  border-radius: 24px;
  cursor: pointer;
  border: 1px solid #007bff;
  color: #007bff;
  background: #fff;
  transition: background 0.2s, color 0.2s;
}
.faq-more-btn:hover {
  background: #007bff;
  color: #fff;
} */
@media (max-width: 768px) {
  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
}

/* ==========================================================
   Dark Mode Styles – NivraTech Website
========================================================== */

/* Base Dark Mode Styles */
body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

/* Text Colors */
body.dark-mode,
body.dark-mode .section-title,
body.dark-mode .section-subtitle,
body.dark-mode .card h3,
body.dark-mode .card p,
body.dark-mode .lead,
body.dark-mode .hero-subtitle,
body.dark-mode .hero-title,
body.dark-mode .hero-text,
body.dark-mode .wcu_boxs_txt h2,
body.dark-mode .wcu_boxs_txt p,
body.dark-mode .service-card h3,
body.dark-mode .service-card p,
body.dark-mode .slide-caption h3,
body.dark-mode .slide-caption p,
body.dark-mode .team-testimonials h3,
body.dark-mode .team-testimonials p,
body.dark-mode .timeline-item,
body.dark-mode .project-info,
body.dark-mode .about-text,
body.dark-mode .about-lead,
body.dark-mode .tab-pane,
body.dark-mode .tab-pane h3,
body.dark-mode .tab-pane li,
body.dark-mode .faq-question,
body.dark-mode .faq-answer p,
body.dark-mode .contact-form h2,
body.dark-mode .input-group label {
  color: #e0e0e0 !important;
}

/* Background Colors */
body.dark-mode .header,
body.dark-mode .card,
body.dark-mode .service-card,
body.dark-mode .swiper-slide,
body.dark-mode .testimonial-card,
body.dark-mode .project-card,
body.dark-mode .value-card,
body.dark-mode .pricing-card,
body.dark-mode .faq-item,
body.dark-mode .contact-form,
body.dark-mode .tab-content,
body.dark-mode .wcu,
body.dark-mode .team-section,
body.dark-mode .contact-section,
body.dark-mode .pricing-section,
body.dark-mode .faq-section,
body.dark-mode .about-nivratech {
  background-color: #1e1e1e !important;
  border-color: #333 !important;
}

body.dark-mode .about-nivratech {
  margin-top: 50px;
  background-color: #0000001f !important;
  border-color: #333 !important;
}

body.dark-mode .section-titlee {
  background: linear-gradient(45deg, #3ab5b0, #3d99be, #56317a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Special Gradient Text (keep gradients in dark mode) */
body.dark-mode .logo,
body.dark-mode .logo span,
body.dark-mode .btn.ghost,
body.dark-mode .btn.primary,
body.dark-mode .hero-text .accent,
body.dark-mode .section-intro h2 span,
body.dark-mode .section-titlee,
body.dark-mode .cta-banner h2,
body.dark-mode .testimonials .section-title,
body.dark-mode .team-testimonials .section-titlee,
body.dark-mode .rating-wrapper .section-title,
body.dark-mode .project-showcase .section-titles,
body.dark-mode .pricing-section .section-title {
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

body.dark-mode .section-intro h2 {
  background: linear-gradient(45deg, #ffcdff, #c4fefd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


body.dark-mode .section-intro p {
  color: rgb(188, 188, 188) !important;
}


/* Header/Nav */
body.dark-mode .header {
  background: rgba(30, 30, 30, 0.9) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

body.dark-mode .nav ul li a {
  color: #e0e0e0 !important;
}

body.dark-mode .nav ul li a:hover {
  color: #00c9ff !important;
  background: linear-gradient(45deg, #b7f8db, #50a7c2);
  background-clip: text;
  background-clip: text;
  text-overflow: clip;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 15px rgba(41, 98, 255, 0.3);
}


/* ==========================================================
   Dark Mode Button Fixes
========================================================== */

/* Primary Buttons */
body.dark-mode .btn.primary,
body.dark-mode .hero .btn.primary {
  background: linear-gradient(to right, #92fe9d 0%, #00c9ff 100%) !important;
  color: #121212 !important;
  -webkit-text-fill-color: #121212 !important;
  animation: floatbtn 3s ease-in-out infinite !important;
}

body.dark-mode .btn.primary:hover {
  background: var(--lg2) !important;
}

/* Ghost Buttons */
body.dark-mode .btn.ghost {
  border: 1px solid rgba(0, 201, 255, 0.5) !important;
  background-image: linear-gradient(to right, #92fe9d 0%, #00c9ff 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: 0 5px 10px rgba(0, 201, 255, 0.3) !important;
}

body.dark-mode .btn.ghost:hover {
  background: var(--lg2) !important;
  background-clip: text !important;
  border-color: transparent !important;
}

/* CTA Buttons */
body.dark-mode .cta-banner .container a,
body.dark-mode .btn-cta {
  background: linear-gradient(100deg, #00c9ff 0%, #92fe9d 100%) !important;
  color: #121212 !important;
}

body.dark-mode .cta-banner .btn-cta:hover {
  background: linear-gradient(100deg, #92fe9d 0%, #00c9ff 100%) !important;
}

/* Gradient Buttons */
body.dark-mode .gradient-btn {
  background: linear-gradient(90deg, #9900ff, #00fff7) !important;
  color: #fff !important;
}

body.dark-mode .gradient-btn:hover {
  background: linear-gradient(90deg, #00fff7, #9900ff) !important;
}

/* Pricing Buttons */
body.dark-mode .btn-primary {
  background-color: var(--primary) !important;
  color: white !important;
}

/* FAQ Buttons */
body.dark-mode .faq-more-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: #fff !important;
}

/* View All Buttons */
body.dark-mode .view-all-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
  color: var(--white) !important;
}

/* Special Cases for Buttons That Should Keep Their Colors */
body.dark-mode .btn.primary,
body.dark-mode .btn.ghost,
body.dark-mode .gradient-btn,
body.dark-mode .view-all-btn,
body.dark-mode .popup-close-btn,
body.dark-mode .faq-more-button,
body.dark-mode .cta-banner .container a,
body.dark-mode .btn-cta {
  /* These buttons should keep their original styling */
  background-image: inherit !important;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  text-shadow: inherit !important;
  border-color: inherit !important;
}


/* Cards & Sections */
body.dark-mode .card:hover,
body.dark-mode .service-card:hover,
body.dark-mode .project-card:hover,
body.dark-mode .value-card:hover,
body.dark-mode .pricing-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
  background-color: #252525 !important;
}

body.dark-mode .project-slider-section,
body.dark-mode .team-testimonials,
body.dark-mode .rating-wrapper,
body.dark-mode .cta-banner {
  background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%) !important;
}

/* Form Elements */
body.dark-mode .input-group input,
body.dark-mode .input-group textarea {
  border-bottom-color: #555 !important;
  color: #e0e0e0 !important;
}

body.dark-mode .input-group input:focus+label,
body.dark-mode .input-group input:not(:placeholder-shown)+label,
body.dark-mode .input-group textarea:focus+label,
body.dark-mode .input-group textarea:not(:placeholder-shown)+label {
  background-color: #1e1e1e !important;
}

/* Scrollbar */
body.dark-mode ::-webkit-scrollbar-track {
  background-color: #121212 !important;
}

body.dark-mode ::-webkit-scrollbar-thumb {
  background-color: #333 !important;
}

body.dark-mode ::-webkit-scrollbar-thumb:hover {
  background-color: #555 !important;
}

/* Selection */
body.dark-mode ::selection {
  background-color: #00c9ff !important;
  color: #121212 !important;
}

/* Footer */
body.dark-mode .footer {
  background-color: #0a0a0a !important;
}

body.dark-mode .footer-col p,
body.dark-mode .footer-col ul li a,
body.dark-mode .footer-bottom {
  color: #bbb !important;
}

body.dark-mode .footer-col ul li a:hover {
  color: #fff !important;
}

/* Special Cases */
body.dark-mode .service-card:hover .link-arrow {
  color: #00c9ff !important;
}

body.dark-mode .tab-btn {
  background: #333 !important;
  color: #e0e0e0 !important;
}

body.dark-mode .tab-btn.active {
  background: linear-gradient(-225deg, #ac32e4 0%, #7918f2 48%, #4801ff 100%) !important;
}

body.dark-mode .tab-btn:hover {
  background: #555 !important;
}

/* Pricing Toggle */
body.dark-mode .pricing-toggle .togglee-label {
  color: #e0e0e0 !important;
}

body.dark-mode .slider {
  background-color: #555 !important;
}

/* FAQ */
body.dark-mode .faq-question {
  background-color: #252525 !important;
}

body.dark-mode .faq-answer {
  background-color: #252525 !important;
}

/* Contact Info */
body.dark-mode .contact-info {
  background: linear-gradient(135deg, #2c3e50, #4a6491) !important;
}

/* Project Showcase */
body.dark-mode .project-showcase {
  background: linear-gradient(135deg, #0a0a0a 0%, #121212 100%) !important;
}

body.dark-mode .project-card .project-title {
  color: #e0e0e0 !important;
}

body.dark-mode .project-card .project-description {
  color: #bbb !important;
}

/* Modal */
body.dark-mode .modal-container {
  background: rgba(30, 30, 30, 0.9) !important;
  border-color: #444 !important;
}

body.dark-mode .modal-title {
  color: #e0e0e0 !important;
}

/* Dark mode toggle button */
body.dark-mode .dark-mode-toggle {
  background: rgba(30, 30, 30, 0.9);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Adjustments for specific elements that should keep their colors */

body.dark-mode .view-all-btn,
body.dark-mode .popup-close-btn,
body.dark-mode .faq-more-button {
  /* These buttons should keep their gradient colors */
  background-image: inherit !important;
  color: inherit !important;
}

/* Pricing cards */
body.dark-mode .pricing-card {
  border-color: #333 !important;
}

body.dark-mode .pricing-card.featured {
  border-color: var(--primary) !important;
}

body.dark-mode .pricing-features li {
  color: #e0e0e0 !important;
}

/* Timeline */
body.dark-mode .timeline-wrapper {
  border-left-color: var(--accent) !important;
}

body.dark-mode .timeline-point {
  background: var(--accent) !important;
}

/* CTA Banner */
body.dark-mode .cta-banner {
  background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%) !important;
}

body.dark-mode .cta-banner .mt-2 {
  background: linear-gradient(45deg, #000000, #434343);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.dark-mode .cta-banner p {
  color: #bbb !important;
}

/* Team Section */
body.dark-mode .team-card {
  background-color: #252525 !important;
}

body.dark-mode .team-card h3 {
  color: #e0e0e0 !important;
}

body.dark-mode .team-card p {
  color: #bbb !important;
}

/* About Page */
body.dark-mode .about-image-wrapper {
  background-color: transparent !important;
}

body.dark-mode .experience-badge {
  background-color: #252525 !important;
}

body.dark-mode .experience-badge .text {
  color: #bbb !important;
}



body.dark-mode .stats-section {
  background: linear-gradient(135deg, #FFDEE9, #B5FFFC);
}

body.dark-mode .stats-section h3 {
  background: linear-gradient(45deg, #1a2980, #26d0ce);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.dark-mode .stat h2 {
  color: #4a00e0;
  background: linear-gradient(45deg, #360033, #0b8793);
  background-image: linear-gradient(to right, #00e5ff 0%, #4a00e0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 4px 15px 4px #b5b5b55b;
  font-weight: 700;
}

body.dark-mode .stat p {
  color: rgb(0, 10, 22);
}

/* Rating Section */
body.dark-mode .chart-box {
  background-color: #252525 !important;
}

body.dark-mode .bar {
  background: #333 !important;
}

/* Project Showcase */
body.dark-mode .project-card {
  background: #252525 !important;
}

body.dark-mode .project-category {
  color: var(--primary-color) !important;
}

/* Pricing Section */
body.dark-mode .pricing-section {
  background-color: rgba(30, 30, 30, 0.5) !important;
}

body.dark-mode .section-subtitle {
  color: #bbb !important;
}

/* FAQ Section */
body.dark-mode .faq-question:hover {
  background-color: #252525 !important;
}

/* Contact Page */
body.dark-mode .contact-section {
  background: #121212 !important;
}

body.dark-mode .contact-form {
  background: rgba(30, 30, 30, 0.8) !important;
}

/* Map Container */
body.dark-mode .map-container iframe {
  filter: brightness(0.8) contrast(1.2);
}

/* Flip cards */
.dark-mode .flip-front,
.dark-mode .flip-back {
  background: #252525;
}

body.dark-mode .team-section {
  background-color: transparent !important;
}



body.dark-mode .cta-banner {
  background: linear-gradient(100deg, #fafdff 0%, #e0eafc 100%);
  color: #1a1a40;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0),
    0 1.5px 8px rgba(224, 234, 252, 0);
}

body.dark-mode .cta-banner h2 {
  color: #1a1a40;
  background: linear-gradient(45deg, #00c9ff, #92fe9d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


body.dark-mode .cta-banner::before {
  background: radial-gradient(circle, #fff 0%, #e0eafc55 100%);
  opacity: 0.18;
}

body.dark-mode .cta-banner::after {
  background: radial-gradient(circle, #fff 0%, #fafdff55 100%);
  opacity: 0.13;
}

/* Unique, simple square CTA button */
body.dark-mode .cta-banner .container a {
  background: linear-gradient(45deg, #EF32D9, #89FFFD) !important;
  color: whitesmoke !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0);
}

body.dark-mode .cta-banner a:hover,
body.dark-mode .cta-banner a:focus {
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 6px 24px rgba(0, 201, 255, 0.13),
    0 2px 12px rgba(38, 249, 215, 0.13);
  outline: 2px solid transparent;
  color: white !important;
}

body.dark-mode .bars-box .bar-item span {
  color: #e0e0e0 !important;
}

body.dark-mode .rating-content .chart-box {
  background: linear-gradient(135deg, #eaeaea 0%, #ffffff 100%) !important;
  color: #000000 !important;
}

body.dark-mode .team-section h2 {
  background: linear-gradient(45deg, #43cea2, #185a9d, #43cea2, #185a9d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.dark-mode .monthly-price .amount {
  color: whitesmoke !important;

}

body.dark-mode .annual-price .amount {
  color: whitesmoke !important;

}

body.dark-mode .pricing-header h3 {
  background: linear-gradient(45deg, #00c3ff, #ffff1c, #ff61a6, #ff5858) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

body.dark-mode .featured {
  border: none !important;
  outline: 1px solid #ff5858 !important;
}

body.dark-mode .featured .pricing-footer a {
  background: linear-gradient(45deg, #00c3ff, #ffff1c70, #ff5858);
  border: none !important;
  outline: 1px solid #58a6ff !important;
}

.featured .pricing-footer a {
  background: linear-gradient(45deg, #EF32D9, #89FFFD);
  background: linear-gradient(45deg, #fa709a, #fee140);

  border: none !important;
  color: white !important;
  outline: 1px solid #58a6ff !important;
}

body.dark-mode .pricing-card a {
  background: linear-gradient(45deg, #f7971e, #ffd200, #ff512f, #dd2476, #43cea2, #185a9d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  outline: 1px solid #58a6ff !important;

}

.pricing-card a {
  background: linear-gradient(45deg, #f7971e, #ffd200, #ff512f, #dd2476, #43cea2, #185a9d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  outline: 1px solid #58a6ff !important;

}

body.dark-mode .comparison-table tbody {
  background-color: #232323 !important;
  outline: none !important;
  border: none !important;
}

body.dark-mode .faq-more-button {
  background: linear-gradient(135deg, #22E1FF, #1D8FE1, #625EB1) !important;
}

body.dark-mode .service-card:hover {
  background-image: linear-gradient(to right, #ffffff 0%, #a9a9a9 100%);

}


/* 🔹 Toast styling */
.security-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(45deg, #ff4d4d, #ff9966);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
}
.security-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* 🔹 Optional: Blur page on DevTools detect */
body.devtools-detected {
  filter: blur(5px);
  transition: filter 0.3s ease;
}







/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dark-mode .modal-overlay {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0);
}

.dark-mode .modal-content {
  background: #333;
  color: #fff;
}

.modal-content {
  background: white;
  color: #000;
  padding: 30px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

.modal-actions {
  margin-top: 20px;

  & a{
    transition: all ease 0.5s;
    background: linear-gradient(135deg, #AC32E4, #7918F2, #4801FF);
  };
   & a:hover{
    transform: rotate(-5deg);
    background: linear-gradient(135deg, #AC32E4, #7918F2, #4801FF);
  };
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-overlay {
  animation: fadeIn 0.3s ease-out;
}




/* logos */
/* Add to your existing styles */
.logo-tile {
  display: none; /* Hidden by default */
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Show the first X logos by default */
.logo-tile:nth-child(-n+6) {  /* Change 6 to match your initialShowCount */
  display: block;
}

/* background: linear-gradient(135deg, #1c1c1c 0%, #000000 100%); */
  body.dark-mode .logo-gallery {
      background: linear-gradient(135deg, #1c1c1c 0%, #000000 100%);
    }

    body.dark-mode .logo-container {
      background: #1e293b;
    }

    body.dark-mode .logo-info h2 {
      color: #f8fafc;
    }

    body.dark-mode .logo-info p {
      color: #94a3b8;
    }

    body.dark-mode .gallery-cta p {
      color: #cbd5e1;
    }

    body.dark-mode .viewer-container {
      background: #1e293b;
    }

    body.dark-mode .close-viewer svg {
      stroke: #f8fafc;
    }

    body.dark-mode .logo-display {
      background: #0f172a;
    }






