<style>
  :root {
    --primary: #d8b4fe;
    --secondary: #c084fc;
    --accent: #a855f7;
    --light: #f3e8ff;
    --dark: #5b21b6;
    --primary-color: #3b82f6;
    --secondary-color: #1e40af;
    --text-color: #334155;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: var(--text-color);
    overflow-x: hidden;
  }

  .nav-link {
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
  }

  .nav-link:hover::after {
    width: 100%;
  }

  .hero-section {
    background: linear-gradient(135deg, #e9d5ff 0%, #d8b4fe 100%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    height: 95vh;
  }

  .skill-card {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
  }

  .skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(216, 180, 254, 0.3);
  }

  .project-card {
    transition: all 0.3s ease;
    overflow: hidden;
  }

  .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .project-card img {
    transition: transform 0.5s ease;
  }

  .project-card:hover img {
    transform: scale(1.05);
  }

  .contact-input {
    transition: all 0.3s ease;
  }

  .contact-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(216, 180, 254, 0.4);
  }

  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
  }

  .floating {
    animation: float 6s ease-in-out infinite;
  }

  .timeline-item::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--primary);
    left: -7.5px;
    top: 0;
  }

  .testimonial-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }

  .section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
  }

  .section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
  }

  .section-title p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
  }

  .title-decoration {
    position: absolute;
    width: 50px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
  }

  .testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
  }

  .testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.6s ease forwards;
    opacity: 0;
  }

  .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  }

  .testimonial-card::before {
    content: "“";
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 5rem;
    color: rgba(59, 130, 246, 0.1);
    font-family: serif;
    line-height: 1;
  }

  .testimonial-card::after {
    content: "”";
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 5rem;
    color: rgba(59, 130, 246, 0.1);
    font-family: serif;
    line-height: 1;
    transform: rotate(180deg);
  }

  .testimonial-content {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-weight: 400;
    position: relative;
    z-index: 1;
  }

  @keyframes fade-in {
    0% {
      opacity: 0;
      transform: translateY(10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .animate-fade-in {
    animation: fade-in 0.6s ease-out forwards;
  }
  .delay-200 {
    animation-delay: 0.2s;
  }
  .delay-400 {
    animation-delay: 0.4s;
  }

  .client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
  }

  .faq-question {
    width: 100%;
    padding: 1rem 0;
    transition: color 0.2s ease;
    cursor: pointer;
  }

  .faq-question:hover {
    color: var(--primary-color);
  }

  .faq-question i {
    transition: transform 0.3s ease;
  }

  .faq-item.active .faq-question i {
    transform: rotate(45deg);
  }

  .client-avatar img {
    filter: grayscale(0%);
    transition: all 0.3s ease;
  }

  .client-logos img:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.05);
  }

  .client-details h3 {
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--secondary-color);
  }

  .client-details p {
    color: #64748b;
    font-size: 0.9rem;
  }

  .rating {
    margin-top: 0.3rem;
    color: #f59e0b;
  }

  .portfolio-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  }

  .portfolio-card .group-hover {
    transition: opacity 0.4s ease;
  }

  /* Portfolio Section */
  .portfolio-section {
    padding: 6rem 1rem;
  }

  .portfolio-grid {
    margin-top: 3rem;
  }

  .portfolio-card {
    transition: all 0.3s ease;
  }

  .portfolio-card:hover {
    transform: translateY(-8px);
  }
  /* Optional: Hide scrollbar for Webkit browsers */
.portfolio-grid::-webkit-scrollbar {
  display: none;
}
.portfolio-grid {
  -ms-overflow-style: none;  /* IE 10+ */
  scrollbar-width: none;     /* Firefox */
}

  
  /* showing achivements */
  
/* Mobile-first: stacked using grid */
.portfolio-stats {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('https://mir-s3-cdn-cf.behance.net/projects/404/21519859.547135e23c65b.jpg') center center / cover no-repeat;
  color: white;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: center;
  padding: 10px 5px;
}

.portfolio-stats .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.portfolio-stats .counter {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
}

.portfolio-stats p {
  font-size: 0.8rem;
  margin: 5px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portfolio-stats .underline {
  width: 30px;
  height: 2px;
  background-color: red;
  margin-top: 5px;
}

/* ✅ Desktop: horizontal using flex */
@media (min-width: 1024px) {
  .portfolio-stats {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('https://mir-s3-cdn-cf.behance.net/projects/404/21519859.547135e23c65b.jpg') center center / cover no-repeat;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 60px 20px;
  }

  .portfolio-stats .stat {
    flex: 1 1 200px;
    margin: 20px;
  }

  .portfolio-stats .counter {
    font-size: 48px;
  }

  .portfolio-stats p {
    font-size: 14px;
    letter-spacing: 1px;
  }

  .portfolio-stats .underline {
    width: 60px;
    height: 3px;
    background-color: #ff4081;
    margin: 10px auto 0;
  }
}


/* Optional: Add padding/margin between elements if needed */

  /* Client Logos Section */
  .client-logos {
    padding: 4rem 1rem;
  }

  .client-logos img {
    opacity: 0.7;
    transition: all 0.3s ease;
  }

  .client-logos img:hover {
    opacity: 1;
  }

  /* FAQ Section */
  .faq-section {
    padding: 6rem 1rem;
  }

  .faq-item {
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .faq-question {
    width: 100%;
    padding: 1rem 0;
  }


.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: height 0.4s ease;
}
.faq-answer.open {
  /* height will be dynamically added with JS */
}


  .faq-item.active .faq-answer {
    max-height: 200px;
  }
 
  .rotate-45 {
    transform: rotate(45deg);
  }
 
  /* Newsletter Section */
  .newsletter {
    background-color: #f0f7ff;
  }

  .newsletter input {
    border: 1px solid #e2e8f0;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .testimonial-section,
    .portfolio-section,
    .faq-section {
      padding: 3rem 1rem;
    }

    .portfolio-grid {
      grid-template-columns: 1fr; /* fixed typo */
    }

    .client-logos .flex {
      flex-direction: column;
      gap: 2rem;
    }

    .section-title h2 {
      font-size: 2rem;
    }

    .testimonial-card {
      padding: 2rem;
    }
  }

  footer {
    background: linear-gradient(135deg, var(--dark) 0%, #7e22ce 100%);
  }
  
  
  
/* Prevent page overflow */
body, html {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Section container */
.marquee {
  width: 100%;
  overflow: hidden;
  background-color: #f8fafc;
  padding: 2rem 0;
  position: relative;
}

/* Track that scrolls */
.marquee-track {
  display: flex;
  gap: 2rem;
  animation: scroll-left 30s linear infinite;
  width: fit-content;
  will-change: transform;
}

/* Logo styling */
.logo {
  height: 64px;
  width: auto;
  flex-shrink: 0;
  filter: grayscale(0%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
}

.logo {
  filter: none !important;
}


/* Responsive logo size */
@media (max-width: 640px) {
  .logo {
    height: 48px;
  }
}

/* Smooth scrolling effect */
@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

  
  
  
  
.marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee-left 30s linear infinite;
  min-width: fit-content;
  white-space: nowrap;
  align-items: center;
}

.logo {
  height: 80px;
  width: auto;
  filter: grayscale(100%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
}

@keyframes marquee-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}



  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .testimonial-card:nth-child(1) {
    animation-delay: 0.1s;
  }

  .testimonial-card:nth-child(2) {
    animation-delay: 0.3s;
  }

  .testimonial-card:nth-child(3) {
    animation-delay: 0.5s;
  }
  
    .visitor-counter {
            position: bottom;
            bottom: 10px;
            right: 150px;
            padding: 4px 8px;
            background: transparent;
            color: white; /* Change to white for better visibility on mobile */
            font-size: 14px;
            font-family: Arial, sans-serif;
            z-index: 999999;
            text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
            display: flex;
            gap: 15px;
            margin-top: 30px; /* ✅ This adds space above the visitor counter */
        }

       .visitor-counter {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 640px) {
  .visitor-counter {
    flex-direction: row;
    gap: 16px;
  }
}

@media only screen and (max-width: 768px) {
  .visitor-counter {
    right: auto;
    left: 10px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    margin-top: 30px;
  }
}

.visitor-counter span {
  display: inline-block;
  margin-left: 0px;
}

   .body { font-family: Arial, sans-serif; color: #333; }
      .container { padding: 20px; }
      .footer { margin-top: 20px; font-size: 13px; color: #888; }
      
      
      .grecaptcha-badge {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: auto !important;
  z-index: 9999 !important;
}
.grecaptcha-badge {
  transform: translateX(-70%) !important; /* partially hide to left */
  transition: transform 0.3s ease;
  opacity: 0.5;
}

.grecaptcha-badge:hover {
  transform: translateX(0%) !important; /* slide fully into view */
  opacity: 1;
}
.grecaptcha-badge * {
  transform: scaleX(-1);
}

      
</style>