/* Custom CSS for Adifygur Website */

:root {
  --primary-color: #DD183B;
  --primary-dark: #411316;
  --secondary-color: #1a1a1a;
  --dark-bg: #0a0a0a;
  --card-bg: #1e1e1e;
  --text-light: #ffffff;
  --text-muted: #a0a0a0;
  --border-color: #333333;
  --gradient-primary: linear-gradient(135deg, #DD183B 0%, #c00326 100%);
  --shadow-primary: 0 10px 40px rgba(255, 0, 64, 0.2);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

body {
   font-family: "Sora", sans-serif;
  /* font-family: "Inter", sans-serif; */
  background-color: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

.text-muted{color:#a8a8a8 !important;}

h1,
h2,
h3,
h4,
h5,
h6 {
   font-family: "Sora", sans-serif;
  font-weight: 600;
}

/* clients logo */

.logo-strip {
    position: relative;
    background: #0b0f14;
    padding: clamp(16px, 4vw, 40px) 0;
    overflow: hidden;
    isolation: isolate;
  }

  /* Subtle top-right glow to match reference */
  .logo-strip::before {
    content: "";
    position: absolute;
    inset: -20% -10% 0 0; /* extend beyond to fade nicely */
    background:
      radial-gradient(60% 60% at 90% 0%,
        rgba(34, 197, 94, 0.14) 0%,
        rgba(34, 197, 94, 0.07) 35%,
        rgba(34, 197, 94, 0.0) 65%);
    pointer-events: none;
    z-index: 0;
  }

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

  .logo-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Gap is 0 to resemble hard grid with lines */
    gap: 0;
    border-top: 1px solid rgba(255,255,255,.08);
    border-left: 1px solid rgba(255,255,255,.08);
  }


  .logo-cell {
    display: grid;
    place-items: center;
    min-height: 120px; /* visual rhythm; adjust as needed */
    background: transparent;
    border-right: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    transition: background-color .25s ease, transform .25s ease, opacity .25s ease;
  }

  .logo-cell img  {opacity: .5;}
  .logo-cell:hover {
    background-color: rgba(255,255,255,.02);
    transform: translateZ(0) scale(1.02);
  }


  /* testimonials */
  .testimonial-section {
      padding: 60px 0;
      overflow: hidden;
      position: relative;
    }

    .testimonial-wrapper {
      display: flex;
      flex-direction: column;
      animation: scrollUpDown 15s linear infinite alternate;
      
    }

    .testimonial-card {
      background: #000000;
      color: #f2f2f2;
      border-radius: 12px;
      padding: 25px;
      margin-bottom: -10px;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease;
    }

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

    .testimonial-text {
      font-size: 16px;
      margin-bottom: 15px;
      line-height: 1.6;
    }

    .testimonial-author {
      display: flex;
      align-items: center;
    }

    .testimonial-author img {
      width: 45px;
      height: 45px;
      border-radius: 50%;
      margin-right: 12px;
    }

    .testimonial-author h6 {
      margin: 0;
      font-weight: 600;
      font-size: 15px;
    }

    .testimonial-author span {
      font-size: 13px;
      color: #555;
    }

/* Left column testimonials */
.testimonial-column.left .testimonial-wrapper {
  animation: scrollUp 5s linear infinite alternate;
}

/* Right column testimonials */
.testimonial-column.right .testimonial-wrapper {
  animation: scrollDown 5s linear infinite alternate;
}

/* Pause on hover */
.testimonial-wrapper:hover {
  animation-play-state: paused;
}

@keyframes scrollUp {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-10%); }
}

@keyframes scrollDown {
  0%   { transform: translateY(0); }
  100% { transform: translateY(10%); }
}



/* Navigation */
.navbar {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light) !important;
}

.navbar-brand i {
  color: var(--primary-color);
}

.nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.dropdown-menu {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
}

.dropdown-item {
  color: var(--text-light);
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background: var(--primary-color);
  color: var(--dark-bg);
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  /* box-shadow: var(--shadow-primary); */
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(255, 0, 55, 0.3);
}



/* Hero Section */

.hero-section {
  background-image: url('../images/back.avif');
  background-size: cover;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff; /* Ensure text is visible */
  z-index: 1;
}

.hero-section-inner {
  background-image: url('../images/back.avif');
  background-size: cover;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: #fff; /* Ensure text is visible */
  z-index: 1;
}



.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2; /* Send it behind content */
}

.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Makes sure video fills background */
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for readability */
  z-index: -1;
}

/* .hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
  z-index: -1;
} */

.hero-title {
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons {
  margin-bottom: 3rem;
}

.btn-outline-light {
  border: 2px solid var(--text-light);
  color: var(--text-light);
  border-radius: 50px;
  padding: 0.65rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: var(--text-light);
  color: var(--dark-bg);
  transform: translateY(-2px);
}

.hero-stats {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

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

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  /* border-radius: 20px; */
  /* box-shadow: var(--shadow-card); */
}

.floating-card {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-card);
  animation: float 3s ease-in-out infinite;
}

.floating-card i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

.card-1 {
  top: 20%;
  right: -10%;
  animation-delay: 0s;
}

.card-2 {
  bottom: 65%;
  left: 4%;
  animation-delay: 1.5s;
}

.card-3 {
  top: 50%;
  right: 10%;
  animation-delay: 3s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}



/* Clients Section */
.clients-section {
  background: var(--card-bg);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.client-logo {
  text-align: center;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.client-logo:hover {
  opacity: 1;
  transform: scale(1.1);
}

.client-logo i {
  color: var(--text-muted);
}

/* Sections */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

/* Services Section */
.services-section {
  padding: 5rem 0; 
  background-size: cover;
  z-index: -999;
}

.service-card {
  background-image: radial-gradient(circle at 26% 0, #ffb2d959, #f4f3f30f 33%, #a1a1a100 56%, #4c393926);
  /* background: var(--card-bg); */
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  text-align:left;
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  background-image: radial-gradient(circle at 40% 0, #ffb2d959, #f4f3f30f 33%, #a1a1a100 56%, #4c393926);
  /* transform: translateY(-10px); */
  /* box-shadow: var(--shadow-card);
  border-color: var(--primary-color); */
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--dark-bg);
}

.service-card h4 {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.service-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: var(--primary-dark);
}

/* Why Choose Section */
.why-choose-section {
  background: var(--card-bg);
  padding: 5rem 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 255, 136, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-content h5 {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.feature-content p {
  color: var(--text-muted);
  margin: 0;
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-muted);
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h6 {
  margin: 0;
  color: var(--text-light);
}

.author-info span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* popup form */
.popup-dark {
  background: #111;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0,0,0,0.8);
  animation: slideUp 0.6s ease;
}

.form-control-dark, 
.form-select.form-control-dark {
  background: #1a1a1a;
  border: 1px solid #333;
  color: #fff;
  border-radius: 10px;
  padding-left: 15px;
  transition: all 0.3s ease;
}

.form-control-dark:focus, 
.form-select.form-control-dark:focus {
  border-color: #dc3545;
  box-shadow: 0 0 8px rgba(220, 53, 69, 0.6);
  outline: none;
}

.form-control-dark::placeholder {
  color: #888;
}

/* Animation */
@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* FAQ Section - Skillshare Style */
.faq-section {
    background-color: #000;
    color: #fff;
}

.faq-main-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4rem;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #333;
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.faq-icon {
    font-size: 1rem;
    color: #fff;
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

.faq-answer {
    padding: 0 0 2rem 0;
    display: none;
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    margin: 0;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-question:hover h3 {
    color: #DD183B;
}

.cta-section {
  background: linear-gradient(135deg, #000 0%, #111 100%);
  padding: 50px 20px;
  border-radius: 8px;
  margin: 40px 0;
}

.cta-title {
  font-size: 28px;
  letter-spacing: 1px;
}

.cta-btn {
  background: #dc3545;
  color: #fff;
  font-weight: bold;
  padding: 14px 32px;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.cta-btn:hover {
  background: #ff4d5e;
  transform: translateY(-3px);
  box-shadow: 0px 4px 15px rgba(220, 53, 69, 0.5);
}

/* Footer */
.footer {
  background-image: url(../images/footer.webp);
  background-attachment: fixed;
  background-size: cover;
  /* background: var(--secondary-color); */
 
}

.footer-brand h5 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  color: var(--dark-bg);
  transform: translateY(-2px);
}

.footer-title {
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-divider {
  border-color: var(--border-color);
  margin: 2rem 0;
}

.footer-copyright,
.footer-contact {
  color: var(--text-muted);
  margin: 0;
}

.footer-contact i {
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

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

  .floating-card {
    display: none;
  }

  .feature-item {
    text-align: center;
    flex-direction: column;
  }

  .process-timeline::before {
    left: 30px;
  }

  .process-item {
    flex-direction: row !important;
    padding-left: 80px;
  }

  .process-number {
    position: absolute;
    left: 0;
    margin: 0;
  }

  .process-content {
    margin-left: 1rem;
  }

  .particles-container {
    display: none;
  }
}

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

  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .service-card,
  .testimonial-card {
    padding: 1.5rem;
  }
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Loading Animation */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--border-color);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Particle Animation System */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0.6;
  animation: float-particle 6s infinite linear;
}

.particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  animation-duration: 8s;
}

.particle:nth-child(2) {
  left: 30%;
  animation-delay: 2s;
  animation-duration: 6s;
}

.particle:nth-child(3) {
  left: 50%;
  animation-delay: 4s;
  animation-duration: 10s;
}

.particle:nth-child(4) {
  left: 70%;
  animation-delay: 1s;
  animation-duration: 7s;
}

.particle:nth-child(5) {
  left: 90%;
  animation-delay: 3s;
  animation-duration: 9s;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Enhanced Typing Animation */
.typing-text {
  position: relative;
  overflow: hidden;
}

.typing-text::after {
  content: "|";
  position: absolute;
  right: -5px;
  color: var(--primary-color);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

/* Enhanced Button Animations */
.pulse-btn {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 55, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 255, 136, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
  }
}

/* Enhanced Floating Cards */
.hover-lift {
  transition: all 0.3s ease;
}


.testimonial-section {
  padding: 80px 0;
  background-color: #000;
  position: relative;
  overflow: hidden;
  color: #f2f2f2;
}

/* .section-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 18px;
  color: #aaa;
  margin: 0 auto;
  max-width: 600px;
} */

.section-title {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(90deg, #ffffff, #fac3c3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-title span {
  background: linear-gradient(90deg, #ff4d5e, #dc3545);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.testimonial-carousel-wrapper {
  display: flex;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.testimonial-column {
  flex: 1;
  position: relative;
  height: 500px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

.testimonial-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation-duration: 30s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.left .testimonial-wrapper {
  animation-name: scroll-up;
}

.right .testimonial-wrapper {
  animation-name: scroll-down;
}

.testimonial-card {
  background: #000;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.testimonial-text {
  color:#ccc;
  font-size: 15px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  margin-right: 12px;
}

.testimonial-author h6 {
  margin: 0;
  font-weight: 600;
  font-size: 15px;
}

.testimonial-author span {
  font-size: 13px;
  color: #aaa;
}

@keyframes scroll-up {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

@keyframes scroll-down {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(0); }
}

/* Optional: Pause on hover */
.testimonial-column:hover .testimonial-wrapper {
  animation-play-state: paused;
}

/* tech section */
.tech-img img {opacity: .8;}
.tech-img img:hover {opacity: 1; filter: brightness(125%); transform: scale(1.1); transition: 5s;}

/* Added Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Portfolio Preview Styles */
.portfolio-preview {
  background: var(--card-bg);
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-10px);
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.portfolio-image img {
  transition: all 0.3s ease;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  padding: 2rem;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

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

.portfolio-content {
  text-align: center;
  color: var(--text-light);
}

.portfolio-content h5 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.portfolio-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.tag {
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
}

.portfolio-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.portfolio-info {
  padding: 1.5rem;
}

.portfolio-info h6 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.portfolio-info p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.9rem;
}

/* Portfolio Hero Styles */
.portfolio-hero {
  background: var(--dark-bg);
  padding-top: 8rem;
}

.portfolio-stats {
  margin-top: 3rem;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.stat-card .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-card .stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Portfolio Filter */
.portfolio-filter {
  background: var(--card-bg);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.filter-btn {
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--text-light);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--dark-bg);
}

/* Portfolio Grid */
.portfolio-grid {
  background: var(--dark-bg);
}

.portfolio-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-card);
}

.portfolio-card .portfolio-image {
  position: relative;
  overflow: hidden;
}

.portfolio-card .portfolio-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.portfolio-card .portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  padding: 2rem;
}

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

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

.portfolio-card .portfolio-content {
  text-align: center;
  color: var(--text-light);
}

.portfolio-card .portfolio-content h5 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.portfolio-card .portfolio-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.portfolio-card .portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.portfolio-card .portfolio-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.portfolio-card .portfolio-info {
  padding: 1.5rem;
}

.portfolio-card .portfolio-info h6 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.portfolio-card .portfolio-info p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.9rem;
}

/* Client Testimonials */
.client-testimonials {
  background: var(--card-bg);
}

.testimonial-rating {
  margin-bottom: 1rem;
}

.testimonial-rating i {
  color: #ffc107;
  margin-right: 0.25rem;
}

/* Case Studies Styles */
.case-studies-hero {
  background: var(--dark-bg);
  padding-top: 8rem;
}

.featured-case-study {
  background: var(--card-bg);
}

.case-study-badge {
  background: var(--gradient-primary);
  color: var(--dark-bg);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.case-study-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-light);
}

.case-study-description {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.case-study-metrics .metric-item {
  text-align: center;
}

.metric-number {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.metric-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.case-study-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

/* Case Studies Grid */
.case-studies-grid {
  background: var(--dark-bg);
}

.case-study-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.case-study-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.case-study-card .case-study-image {
  position: relative;
}

.case-study-card .case-study-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.case-study-card .case-study-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gradient-primary);
  color: var(--dark-bg);
  padding: 0.5rem 1rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.case-study-card .case-study-content {
  padding: 2rem;
}

.case-study-card h4 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.case-study-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.case-study-card .case-study-results {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.case-study-card .result-item {
  text-align: center;
  flex: 1;
  min-width: 80px;
}

.case-study-card .result-number {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
}

.case-study-card .result-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.case-study-card .case-study-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Detailed Case Study */
.detailed-case-study {
  background: var(--card-bg);
}

.case-study-detail {
  background: var(--dark-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
}

.case-study-detail h2 {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.case-study-detail h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.case-study-detail h4:first-of-type {
  margin-top: 0;
}

.case-study-detail p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.case-study-detail ul {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.case-study-info {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 2rem;
}

.case-study-info h5 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.info-item {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.info-item strong {
  color: var(--text-light);
}

.result-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.result-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.result-card .result-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.result-card .result-description {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.9rem;
}

.case-study-testimonial {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 2rem;
  margin-top: 2rem;
}

.case-study-testimonial blockquote {
  margin: 0;
}

.case-study-testimonial .blockquote p {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-light);
}

.case-study-testimonial .blockquote-footer {
  color: var(--text-muted);
  margin-top: 1rem;
}

.case-study-testimonial .blockquote-footer strong {
  color: var(--primary-color);
}

/* Modal Styles */
.modal-content {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
}

.modal-header {
  border-bottom: 1px solid var(--border-color);
}

.modal-title {
  color: var(--text-light);
}

.modal-body {
  color: var(--text-muted);
}

.modal-body h6 {
  color: var(--primary-color);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal-body h6:first-of-type {
  margin-top: 0;
}

.badge {
  font-size: 0.8rem;
}

/* Portfolio Filter Animation */
.portfolio-item.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}


/* pricing table digital marketing */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #fff;
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Pricing Badge */
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #e63946;
  color: #fff;
  padding: 5px 15px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: bold;
}

/* Price */
ul.no-list li {list-style:none !important;margin-left:-20px;}
.price {
  font-size: 28px;
  font-weight: bold;
  margin: 15px 0;
}

.price .currency {
  font-size: 18px;
  vertical-align: top;
}

.price .period {
  font-size: 14px;
  color: #bbb;
}

/* Features */
.pricing-features li {
  margin-bottom: 10px;
  font-size: 15px;
}

.section-title {
  font-size: 32px;}


/* Responsive Design for Portfolio */
@media (max-width: 768px) {
  .filter-buttons {
    flex-direction: column;
    align-items: center;
  }

  .filter-btn {
    width: 200px;
  }

  .case-study-title {
    font-size: 2rem;
  }

  .case-study-detail {
    padding: 2rem;
  }

  .case-study-results {
    flex-direction: column;
  }

  .result-item {
    margin-bottom: 1rem;
  }

  .portfolio-actions {
    flex-direction: column;
  }

  .portfolio-tags {
    justify-content: flex-start;
  }
}

@media (max-width: 576px) {
  .portfolio-overlay {
    padding: 1rem;
  }

  .portfolio-content h5 {
    font-size: 1rem;
  }

  .portfolio-content p {
    font-size: 0.9rem;
  }

  .case-study-card .case-study-content {
    padding: 1.5rem;
  }

  .stat-card {
    padding: 1rem;
  }

  .stat-card .stat-number {
    font-size: 2rem;
  }
}

/* Enhanced Interactive Features and Animations */

/* Enhanced Interactive Elements */
.interactive-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.interactive-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
  transition: left 0.6s;
}

.interactive-card:hover::before {
  left: 100%;
}

.interactive-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 255, 136, 0.15);
}

/* Magnetic Button Effect */
.magnetic-btn {
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

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

/* Ripple Effect */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(0, 255, 136, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.ripple:active::after {
  width: 300px;
  height: 300px;
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 9999;
  transition: width 0.1s ease;
}

/* Enhanced Hover Effects */
.hover-glow {
  transition: all 0.3s ease;
  position: relative;
}

.hover-glow::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.hover-glow:hover::before {
  opacity: 1;
}

/* Text Reveal Animation */
.text-reveal {
  overflow: hidden;
  position: relative;
}

.text-reveal .text-content {
  transform: translateY(100%);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.text-reveal.revealed .text-content {
  transform: translateY(0);
}

/* Image Zoom Effect */
.image-zoom {
  overflow: hidden;
  border-radius: 15px;
}

.image-zoom img {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-zoom:hover img {
  transform: scale(1.1);
}

/* Staggered Animation */
.stagger-animation {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stagger-animation.animate {
  opacity: 1;
  transform: translateY(0);
}

.stagger-animation:nth-child(1) {
  transition-delay: 0.1s;
}
.stagger-animation:nth-child(2) {
  transition-delay: 0.2s;
}
.stagger-animation:nth-child(3) {
  transition-delay: 0.3s;
}
.stagger-animation:nth-child(4) {
  transition-delay: 0.4s;
}
.stagger-animation:nth-child(5) {
  transition-delay: 0.5s;
}
.stagger-animation:nth-child(6) {
  transition-delay: 0.6s;
}

/* Interactive Form Elements */
.form-floating-label {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-floating-label input,
.form-floating-label textarea {
  width: 100%;
  padding: 1rem;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-light);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-floating-label input:focus,
.form-floating-label textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.form-floating-label label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--text-muted);
  font-size: 1rem;
  transition: all 0.3s ease;
  pointer-events: none;
  background: var(--card-bg);
  padding: 0 0.5rem;
}

.form-floating-label input:focus + label,
.form-floating-label input:not(:placeholder-shown) + label,
.form-floating-label textarea:focus + label,
.form-floating-label textarea:not(:placeholder-shown) + label {
  top: -0.5rem;
  left: 0.5rem;
  font-size: 0.875rem;
  color: var(--primary-color);
}

/* Loading States */
.btn-loading {
  position: relative;
  pointer-events: none;
}

.btn-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Parallax Sections */
.parallax-section {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 400px;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.7);
}

/* Scroll Snap */
.scroll-snap-container {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100vh;
}

.scroll-snap-section {
  scroll-snap-align: start;
  min-height: 100vh;
}

/* Enhanced Testimonial Cards */
.testimonial-card-enhanced {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
}

.testimonial-card-enhanced::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.testimonial-card-enhanced:hover::before {
  transform: scaleX(1);
}

.testimonial-card-enhanced:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-primary);
}



/* Back to Top Button Enhanced */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

#backToTop:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-primary);
}

/* blog section */
.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-primary);
}
.blog-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-title {
  color: var(--text-light);
  font-weight: 600;
}
.read-more {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}
.read-more:hover {
  color: #fff;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .interactive-card:hover {
    transform: none;
  }

    .testimonial-carousel-wrapper {
    flex-direction: column;
  }

  .testimonial-column {
    height: 300px;
  }

  .magnetic-btn:hover {
    transform: none;
  }

  .parallax-section {
    background-attachment: scroll;
  }

     .faq-main-title {
        font-size: 2rem;
    }
    
    .faq-question {
        padding: 1.5rem 0;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }

}

/* Dark Mode Toggle */
.theme-toggle {
  position: fixed;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
}

.theme-toggle:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-primary);
}

/* Accessibility Enhancements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #00ff00;
    --border-color: #ffffff;
    --text-muted: #cccccc !important;
  }
}

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