* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'DM Sans', sans-serif;
}

:root {
  --primary-purple: #914ac8;
  --secondary-purple: #FACDEC;
  --dark-purple: #1c002f;
  --darker-purple: #0f001f;
  --medium-purple: #2d0066;
  --purple-glow: rgba(145, 74, 200, 0.3);
  --purple-border: rgba(145, 74, 200, 0.2);
}

body {
  font-family: 'DM Sans', sans-serif;
  /* background: #1c002f; */
   background: linear-gradient(180deg, #1c002f 0%, #0f001f 50%, #1a0033 100%);
  color: white;
  line-height: 1.6;
  overflow-x: hidden;
}

h1 {
  font-family: "Playfair Display", serif;
}

h2 {
  font-family: "Prata", serif;
  font-size: 52px;
}

.cta-button {
  background:#FACDEC;
  color: #100519;
  font-family: 'DM Sans', sans-serif;
  padding: 16px 26px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Header Styles */
header {
  padding: 20px 0;
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  transition: all 0.4s ease;
  z-index: 1000;
  backdrop-filter: blur(0px);
}

/* Header when scrolled */
/* header.scrolled {
  background-color: #100519;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  padding: 15px 0;
} */

header.scrolled {
  background: linear-gradient(90deg, rgba(13, 4, 20, 0.95) 0%, rgba(20, 0, 38, 0.9) 100%);
  backdrop-filter: blur(15px);
  box-shadow: 0 2px 20px rgba(32, 17, 43, 0.3);
  padding: 15px 0;
}

/* logo */
.logo {
  display: inline-block;
  padding: 0.3rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.logo:hover {
  color: #c084fc;
  box-shadow: 0 4px 12px rgba(192, 132, 252, 0.3);
}



/* Base styles */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
}

.blurred {
  filter: blur(1px);
  opacity: 0.3;
  transition: filter 0.3s ease;
}


#mobile-btn {
  display: none; /* hidden by default */
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  background-color: #FACDEC;
  color: white;
  border-radius: 5px;
  text-align: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0px 100px;
}

header.scrolled .logo-icon {
  box-shadow: 0 0 15px rgba(236, 119, 171, 0.5);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  text-decoration: none;
  color: #FACDEC;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--Primary);
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: #c084fc;
}
/* #d85a6f or #c084fc */
nav ul li a:hover::after {
  width: 100%;
}

.cta-button:hover {
   background: #A37899;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 107, 157, 0.3);
}
/* whatsapp float */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  background-color: #25D366;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
/* .whatsapp-float:hover {
  transform: scale(1.1);
} */

/* .whatsapp-float:hover {
  transform: translateY(0) scale(1.1);
  
} */

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #158944; 
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); 
}


.whatsapp-float img {
  width: 40px;
  height: 40px;
}

@keyframes slideFromBottom {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-slide-in {
  animation: slideFromBottom 1s ease-out;
  animation-fill-mode: both;
}


/* Hero Section */
.hero {
  /* background: #1c002f; */
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 32px;
  margin-top: 170px;
  margin-bottom: 80px;
}

.hero-content h1 {
  background: var(--05, linear-gradient(90deg, #914ac8 24.5%, #FACDEC 77.06%));
  /* background: var(--05, linear-gradient(90deg, #FACDEC 24.5%, #f2758b 77.06%)); */
  max-width: 973px;
  text-align: center;
  background-clip: text;
  /* font-family: "Nyght Serif"; */
  font-size: clamp(1.5rem, 5vw, 82px);
  /* font-size: clamp(1.5rem, 4vw, 70px); */
  line-height: 94px;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.hero-content p {
  color: #a29d9d;
  margin-bottom: 50px;
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  max-width: 600px; /* Control width */
  margin-left: auto;
  margin-right: auto;
}

.highlight {
  font-family: "Playfair Display", serif;
  color: #ffffff !important;
  font-weight: bold;
  transition: opacity 0.4s ease;
  -webkit-text-fill-color: #d8d6d6; /* For webkit browsers */
  background: none;
  text-shadow: rgba(0, 0, 0, 0.25) 0px 6px 4px;
}

.hero-content p {
  color: #ececec;
  margin-bottom: 50px;
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
}

/* Services Section */
.services {
  background-color: #100519;
  /* background: rgba(145, 74, 200, 0.08); */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* padding: 6rem 0rem; */
  padding-top: 5rem;
  padding-bottom: 2rem;
  gap: 10px;
  flex-wrap: wrap;
}


.semi-title {
  display: flex;
  justify-content: center;
  color: #706a6a;
  align-items: center;
  margin: 0 auto;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 40px;
  border: 1px solid #3b3232;
  width: max-content; 
}

.section-title {
  text-align: center;
  font-size: clamp(2.5rem, 6vw, 52px);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff, #c084fc);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  width: 86%;
  /* display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  width: 100%; */
}

.service-card {
  /* background: rgba(255, 255, 255, 0.05); */
  background: rgba(145, 74, 200, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* .service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 107, 157, 0.2);
} */

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(145, 74, 200, 0.3);
  border-color: rgba(145, 74, 200, 0.4);
}



.service-icon {
  width: 100px;
  height: 100px;
  /* background: linear-gradient(135deg, #ff6b9d, #c084fc); */
   border: 1px solid #A37899;
  /* border-radius: 15px; */
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: #A37899;
}

/* #serviceimg {
  width: 60px;
  height: 60px;
  filter: brightness(0) saturate(100%) invert(76%) sepia(18%) saturate(5066%) hue-rotate(312deg) brightness(92%) contrast(94%);
} */

#serviceimg {
  width: 60px;
  height: 60px;
  filter: brightness(0) saturate(100%) invert(34%) sepia(10%) saturate(1412%) hue-rotate(288deg) brightness(95%) contrast(70%);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-family: "DM Sans", sans-serif;
  color: rgba(255, 255, 255, 0.7);
  
}

/* servive card animation */
/* Animate service cards */
.service-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.animate {
  opacity: 1;
  transform: translateY(10);
}

/* Animate section titles */
.section-title,
.semi-title,
.services p {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 1s ease;
}

.section-title.animate,
.semi-title.animate,
.services p.animate {
  opacity: 1;
  transform: translateY(0);
}


/* Tech Stack */
.tech-stack {
  /* padding: 6rem 2rem; */
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding-top: 2rem;
}

.techstack-title {
  text-align: center;
  font-size: clamp(2.5rem, 6vw, 52px);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff, #c084fc);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tech-stack p {
 color: rgba(255, 255, 255, 0.7);
 margin-bottom: 2rem;
 max-width: 600px;
 margin-left: auto;
 margin-right: auto;
}

/* tech stack animation */
.tech-scroll-wrapper {
  overflow: hidden;
  padding: 0 2rem; /* Padding on both sides */
  /* padding: 6rem 8rem; */
}

.tech-grid-container {
  display: flex;
  margin: 6rem;
  animation: slideRight 50s linear infinite;
  gap: 6rem;
  width: max-content;
}

.tech-grid {
  display: flex;
  gap: 6rem;
  padding: 0;
}

.tech-logo img {
  width: auto;
  height: 100px;
}

@keyframes slideRight {
  0% {
    transform: translateX(calc(-100%));
  }
  100% {
    transform: translateX(calc(100%));
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .tech-item {
    min-width: 120px;
    padding: 1.5rem;
  }

  .tech-logo {
    font-size: 2.5rem;
  }

  .tech-item p {
    font-size: 1rem;
  }
}

/* Additional content to show section behavior */
.content-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.content-section h2 {
  color: white;
  font-size: 3rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Portfolio Section */
.portfolio {
  padding: 6rem 8rem;
  /* max-width: 1200px; */
  margin: 0 auto;
  background-color: 
  /* #ECECEC; */ #100519;
}

.portfolio p {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* .portfolio-container {
  background-color: #1c002f;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  border: 1px solid #26033d;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 2px 4px #26013e;
} */

.portfolio-container {
  background: linear-gradient(135deg, #1c002f 0%, #2d0066 50%, #1a0033 100%);
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  border: 1px solid rgba(145, 74, 200, 0.3);
  width: 100%;
  max-width: 500px;
  box-shadow: 0 8px 32px rgba(145, 74, 200, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(145, 74, 200, 0.3);
}

.portfolio-slide {
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 0px;
  position: relative;
}

.portfolio-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  transition: transform 0.3s ease;
  height: 100%;
  width: 100%;
}

.slide-track {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: max-content;
  gap: 10px;
  /* No transition by default - immediate return to top */
  transition: none;
}

.portfolio-slide:hover .slide-track {
  transition: transform 8s linear;
  transform: translateY(calc(-100% + 500px));
}

.pageui {
  height: auto;
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}

/* Content positioned below the image container */
.portfolio-content {
  padding: 5px;
  text-align: center;
}

.portfolio-content h3 {
  font-size: 1.2rem;
  color: white;
  margin: 0 0 0 0;
}

/* Process Section */
.process {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.process p {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
} */

/* .process-step {
  text-align: center;

  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
} */

.process-step {
  text-align: center;
  background: linear-gradient(135deg, rgba(145, 74, 200, 0.1) 0%, rgba(250, 205, 236, 0.05) 100%);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(145, 74, 200, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(145, 74, 200, 0.25);
}

.step-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ff6b9d, #c084fc);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.process-step p {
  color: rgba(255, 255, 255, 0.7);
}

/* Testimonials */
.testimonials {
  background-color: #100519;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0;
  /* max-width: 800px;  */
  /* margin: 0 auto; */
  text-align: center;
  align-self: center;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  align-items: center;
  align-self: center;
  max-width: 800px;
  /* backdrop-filter: blur(10px); */
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  border-radius: 20px;
  padding: 2rem;
  margin-top: 2rem;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.client-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.client-avatar img {
  width: 100px;
  height: 100px;
  border-radius: 100%;
}

.client-details h4 {
  font-weight: 600;
}

.client-details p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* FAQ Section */
.faq {
  padding: 6rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  display: none;
}

/* Footer */
/* .footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  padding: 2rem;
  margin-top: 4rem;
  align-items: center;
} */

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(16, 5, 25, 0.9) 0%, rgba(26, 0, 51, 0.8) 100%);
  backdrop-filter: blur(10px);
  padding: 2rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(145, 74, 200, 0.2);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10rem;
}

/* newsletter footer */

/* .newsletter-form {
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  max-width: 400px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px; 
  overflow: hidden;
  margin-top: 10px;
}

.newsletter-form input {
  padding: 12px 16px;
  border: none;
  outline: none;
  font-size: 16px;
  background: transparent;
  color: #ffffff;
}

.newsletter-form input::placeholder {
  color: #999999;
}

.newsletter-form button {
  padding: 0 20px;
  background-color: transparent;
  color: #c5c5c5;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
 */
.newsletter-form {
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  max-width: 400px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 10px;
}

.newsletter-form input {
  padding: 12px 16px;
  border: none;
  outline: none;
  font-size: 16px;
  background: transparent;
  color: #ffffff;
}


.newsletter-section h3 {
  color: #e5e5e5; /* Same as other headings */
}

.newsletter-section p {
  color: #a1a1a1; /* Muted description text */
  font-size: 14px;
  margin-bottom: 15px;
}

.newsletter-form button {
  padding: 0 40px;
  /* background-color: transparent; */
   background-color: #c084fc;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #c084fc; 
  /* Darker shade on hover */
  transform: scale(1.05);    /* Slight zoom effect */
  color: #1c002f;               
}

.newsletter-form button i {
  pointer-events: none; /* Prevents accidental hover on icon */
}


.social-icons {
  margin-top: 20px;
}
/* .social-icons p,
.sub-heading {
  color: #573b47;
} */

.sub-heading,
.social-icons p {
  color: #9ca3af; /* Muted gray-blue */
  font-size: 14px;
}


/* .social-icons a {
  margin-right: 12px;
  color: #ece7e7;
  font-size: 20px;
  text-decoration: none;
}

.social-icons a:hover {
  color: #c084fc;
} */

.social-icons a {
  margin-right: 12px;
  color: #c5c5c5; /* Muted gray */
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #c084fc; /* Simple white on hover */
}

.footer-section h3 {
  font-family: "Prata", serif;
  margin-bottom: 1rem;
  color: #e0d4e8;
  font-weight: 500; 
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  /* color: rgba(255, 255, 255, 0.7); */
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #c084fc;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  color: #808080;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 20px;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
  .nav-links {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .services-grid,
  .portfolio-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card,
.portfolio-item,
.process-step {
  animation: fadeInUp 0.6s ease forwards;
}

/* Glassmorphism effects */
/* .service-card, */
.portfolio-item,
.testimonial-card,
.faq-item {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile First Approach - Base styles for mobile */
@media (max-width: 480px) {
  /* Header */
  .nav-container {
    padding: 0 15px;
  }

  .logo {
    font-size: 20px;
  }

  .logo-icon {
    width: 24px;
    height: 24px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(16, 5, 25, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul li {
    margin-left: 0;
  }
  
   #mobile-btn {
    display: inline-block;
    border-radius: 50px;
    background:#FACDEC;
  color: #100519;
    padding: 12px 20px;
    font-size: 14px;
    margin-top: 15px;
    border-radius: 12px;
    font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .cta-button:hover{
  background: #A37899;
}

  nav ul li:last-child {
    align-self:center; 
  }
  

   #menubutton {
    display: none;
  }


  /* Hero Section */
  .hero {
    margin: 80px 15px 50px;
    padding: 40px 0;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 16px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  /* Services Section */
  .services {
    padding: 50px 15px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .semi-title {
    font-size: 14px;
    padding: 12px 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  #serviceimg {
  width: 30px;
  height: 30px;
  /* font-size: 1.2rem; */
}

  /* Tech Stack */
  .tech-stack {
    padding: 50px 15px;
  }

  .techstack-title {
    font-size: 1.8rem;
  }

  .tech-grid-container {
    margin: 0;
    gap: 3rem;
  }

  .tech-grid {
    gap: 0rem;
  }

  .tech-logo img {
    height: 60px;
  }

  /* Portfolio Section */
  .portfolio {
    padding: 50px 15px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .portfolio-container {
    max-width: 100%;
  }

  .portfolio-slide {
    height: 300px;
  }

  .portfolio-slide:hover .slide-track {
    transform: translateY(calc(-100% + 300px));
  }

  /* Process Section */
  .process {
    padding: 50px 15px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .process-step {
    padding: 1.5rem;
  }

  .step-number {
    font-size: 2rem;
  }

  .process-step h3 {
    font-size: 1.2rem;
  }

  /* Testimonials */
  .testimonials {
    padding: 50px 15px;
  }

  .testimonial-card {
    padding: 1.5rem;
    margin-top: 0;
  }

  .client-info {
    flex-direction: column;
    gap: 0.5rem;
  }

  .client-avatar img {
    width: 60px;
    height: 60px;
  }

  /* FAQ Section */
  .faq {
    padding: 50px 15px;
  }

  .faq-question {
    padding: 1rem;
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 1rem 1rem;
    font-size: 14px;
  }

  /* Footer */
  .footer {
    padding: 30px 15px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .newsletter-form {
    max-width: 100%;
    margin: 20px auto;
  }

  .newsletter-form input {
    flex: 1;
    min-width: 0;
  }
}

/* Tablet Styles */
@media (min-width: 481px) and (max-width: 768px) {
  /* Header */
  .nav-container {
    padding: 0 30px;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(16, 5, 25, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  nav ul li {
    margin-left: 0;
  }

  .cta-button {
    margin-top: 20px;
  }

  /* Hero Section */
  .hero {
    margin: 100px 30px 60px;
  }

  .hero-content h1 {
    font-size: 3rem;
    line-height: 1.1;
  }

  .hero-content p {
    font-size: 17px;
    margin-bottom: 40px;
  }

  /* Services Section */
  .services {
    padding: 60px 30px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .services-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  /* Tech Stack */
  .tech-stack {
    padding: 60px 30px;
  }

  .tech-grid-container {
    margin: 4rem 0;
    gap: 4rem;
  }

  .tech-grid {
    gap: 4rem;
  }

  .tech-logo img {
    height: 80px;
  }

  /* Portfolio Section */
  .portfolio {
    padding: 60px 30px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .portfolio-slide {
    height: 400px;
  }

  .portfolio-slide:hover .slide-track {
    transform: translateY(calc(-100% + 400px));
  }

  /* Process Section */
  .process {
    padding: 60px 30px;
  }

  .process-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  /* Testimonials */
  .testimonials {
    padding: 60px 30px;
  }

  .testimonial-card {
    max-width: 600px;
  }

  /* FAQ Section */
  .faq {
    padding: 60px 30px;
  }

  /* Footer */
  .footer {
    padding: 40px 30px;
  }

  .footer-content {
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
  }
}

/* Small Desktop/Large Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Header */
  .nav-container {
    padding: 0 50px;
  }

  nav ul {
    gap: 1.5rem;
  }

  /* Hero Section */
  .hero {
    margin: 120px 50px 80px;
  }

  .hero-content h1 {
    font-size: 4rem;
  }

  /* Services Section */
  .services {
    padding: 80px 50px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Tech Stack */
  .tech-stack {
    padding: 80px 50px;
  }

  .tech-grid-container {
    margin: 5rem 0;
    gap: 5rem;
  }

  .tech-grid {
    gap: 5rem;
  }

  /* Portfolio Section */
  .portfolio {
    padding: 80px 50px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Process Section */
  .process {
    padding: 80px 50px;
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Testimonials */
  .testimonials {
    padding: 80px 50px;
  }

  /* FAQ Section */
  .faq {
    padding: 80px 50px;
  }

  /* Footer */
  .footer {
    padding: 50px;
  }

  .footer-content {
    gap: 4rem;
  }
}

/* Large Desktop */
/* @media (min-width: 1025px) and (max-width: 1440px) {
  .hero {
    margin: 148px 100px;
  } */

/* .services {
    padding: 100px 80px;
  }

  .portfolio {
    padding: 100px 60px;
  }

  .nav-container {
    padding: 0 80px;
  }
}

/* Extra Large Screens */
/* @media (min-width: 1441px) {
  .hero {
    margin: 148px 200px;
  }

  .services {
    padding: 100px 150px;
  }

  .portfolio {
    padding: 100px 100px;
  }

  .nav-container {
    padding: 0 100px;
  }
} */

/* Landscape Orientation for Mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    margin: 80px 20px 40px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .services {
    padding: 40px 20px;
  }

  .portfolio {
    padding: 40px 20px;
  }

  .process {
    padding: 40px 20px;
  }

  .testimonials {
    padding: 40px 20px;
  }

  .faq {
    padding: 40px 20px;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .tech-logo img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }

  .client-avatar img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .tech-grid-container {
    animation: none;
  }

  .service-card,
  .process-step,
  .portfolio-item {
    transition: none;
  }

  .service-card:hover,
  .process-step:hover {
    transform: none;
  }

  .portfolio-slide:hover .slide-track {
    transition: none;
    transform: none;
  }
}