:root {
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: #000;
  color: white;
  overflow-x: hidden;
  font-family: "Inter", "Helvetica Neue", "Axiforma Book", Arial, sans-serif;
}

p {
  color: #ffffff;
  font-size: 1rem;
  font-family: "Inter", "Helvetica Neue", "Axiforma Book", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.6;
}

/* Professional Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInScale {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Hero Section */
.hero-section {
  min-height: 85vh;
  position: relative;
  display: flex;
  margin: auto;
  padding-top: 40px;
  align-items: center;
  background: #000;
}

.video-container {
  position: relative;
  height: 350px;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
  transition: transform 0.3s ease;
}

.video-container:hover {
  transform: scale(1.02) translateY(-5px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.content-section {
  padding-left: 40px;
}

.content-section > * {
  animation: fadeInRight 1s ease-out;
  animation-fill-mode: both;
}

.content-section > *:nth-child(1) { animation-delay: 0.2s; }
.content-section > *:nth-child(2) { animation-delay: 0.4s; }
.content-section > *:nth-child(3) { animation-delay: 0.6s; }
.content-section > *:nth-child(4) { animation-delay: 0.8s; }

.main-heading {
  font-family: "Inter", sans-serif;
  font-size: 2.5rem;
  font-weight: 100;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 40px;
}

.description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #b0b0b0;
  max-width: 500px;
}

.cts-button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 12px 30px;
  border-radius: 25px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 200;
  font-family: "Inter", "Helvetica Neue", "Axiforma Book", Arial, sans-serif;
  position: relative;
  overflow: hidden;
}

.cts-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.cts-button:hover::before {
  left: 100%;
}

.cts-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

@media (max-width: 576px){
  .cts-button{
  
    margin-left: 56px;
  }
}


@media (min-width: 576px) and (max-width: 768px){
  .cts-button{
  
    margin-left: 260px;
  }
}

/* Services Section */
.services-section {
  background-color: #000;
  padding: 30px 0 0;
  color: white;
}

.services-heading {
  font-weight: 100;
  line-height: 1.2;
  margin-bottom: 30px;
  color: #ffffff;
  font-size: 2.5rem;
  font-family: "Inter", sans-serif;
  position: relative;
}

.services-heading.underline::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #ffffff, transparent);
  animation: shimmer 2s infinite;
}

.services-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 0;
  font-family: "Inter", "Helvetica Neue", "Axiforma Book", Arial, sans-serif;
  font-weight: 300;
}

.service-card {
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 15px;
  padding: auto;
  height: 40px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: left 0.6s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  border-color: #ffffff;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.1);
}

.service-title {
  font-family: "Inter", "Helvetica Neue", "Axiforma Book", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 200;
  color: white;
  text-align: center;
  padding-top: 10px;
  transition: all 0.3s ease;
}

.service-card:hover .service-title {
  transform: translateY(-2px);
}

/* Stats Section */
.stats-section {
  background-color: #000;
  padding: 10px 0;
  color: white;
}

.stats-heading {
  font-family: "Inter", sans-serif;
  font-size: 2.5rem;
  font-weight: 100;
  color: white;
}

.stat-item {
  padding: 20px;
  transition: all 0.4s ease;
  cursor: pointer;
}

/* .stat-item:hover {
  transform: translateY(-15px);
  animation: float 3s ease-in-out infinite;
} */

.stat-icon {
  width: 125px;
  height: 125px;
  margin: 0 auto 10px;
  color: #ffffff;
  opacity: 0.9;
  transition: all 0.3s ease;
}

/* .stat-item:hover .stat-icon {
  opacity: 1;
  transform: scale(1.1);
  animation: pulseGlow 2s infinite;
} */

.stat-icon svg {
  width: 100%;
  height: 100%;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 300;
  color: #01d871;
  margin-bottom: 15px;
  line-height: 1;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* .stat-item:hover .stat-number {
  transform: scale(1.2);
  color: #00ff00;
} */

.stat-label {
  font-family: "Inter", "Helvetica Neue", "Axiforma Book", Arial, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.stat-item:hover .stat-label {
  color: #f0f0f0;
}

/* Tech Stack Section */
.tech-stack-section {
  background-color: #000;
  padding: 30px 0;
  color: white;
}

.tech-heading {
  font-family: "Inter", sans-serif;
  font-size: 2.5rem;
  font-weight: 100;
  margin-bottom: 80px;
  color: white;
  position: relative;
}

.tech-heading.underline::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #ffffff, transparent);
  animation: shimmer 2s infinite;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 40px;
  align-items: center;
  justify-items: center;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  opacity: 0;
  animation: slideInScale 0.6s ease-out forwards;
}

.tech-item:nth-child(odd) {
  animation-delay: 0.1s;
}

.tech-item:nth-child(even) {
  animation-delay: 0.2s;
}

.tech-item:hover {
  transform: translateY(-15px) scale(1.05);
}

.tech-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  position: relative;
}

.tech-icon::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tech-item:hover .tech-icon::before {
  opacity: 1;
  animation:  1.5s infinite;
}

.tech-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}

.tech-item:hover .tech-img {
  transform: scale(1.1) ;
}

.tech-label {
  font-size: 0.9rem;
  color: #b0b0b0;
  font-weight: 400;
  transition: all 0.3s ease;
}

.tech-item:hover .tech-label {
  color: #ffffff;
  transform: translateY(-5px);
}

/* Products/Expertise Section */
.section-title {
  font-family: "Inter", sans-serif;
  font-size: 2.5rem;
  font-weight: 100;
  text-align: center;
  margin-bottom: 2rem;
  color: #ffffff;
  position: relative;
}

.section-title.underline::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #ffffff, transparent);
  animation: shimmer 2s infinite;
}

.section-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 20px;
  padding-bottom: 20px;
  font-family: "Inter", "Helvetica Neue", "Axiforma Book", Arial, sans-serif;
  font-weight: 300;
}
.collage-container::-webkit-scrollbar {
  display: none;
}

.collage-container {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 20px;
  background-color: #000;
}

/* Changed from grid to columns for masonry layout */
.testimonials-container {
  columns: 3;
  column-gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: #000;
}

.testimonial-card {
  break-inside: avoid;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 15px;
  padding: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid #ffffff;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-color: #ffffff;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial-card:hover::before {
  opacity: 1;
}

.stars {
  color: #ffd700;
  font-size: 1.2em;
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 1rem;
  font-family: "Inter", "Helvetica Neue", "Axiforma Book", Arial, sans-serif;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 20px;
  text-justify: auto;
  margin-top: 30px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  position:absolute;
  top:35px;
  right:10px;

}

.user-name {
  color: #ffffff;
  font-weight: 600;
  margin: 0;
  font-size: 0.95em;
}

.user-title {
  color: #cccccc;
  font-size: 0.8em;
  margin: 0;
}

.header {
  text-align: center;
  padding: 40px 0;
  color: white;
  background-color: #000;
}

.header h1 {
  font-family: "Inter", sans-serif;
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 100;
  margin-bottom: 10px;
}

.header p {
  font-size: 1.1rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .testimonials-container {
    columns: 2;
    column-gap: 15px;
    padding: 15px;
  }
  section-description {
     margin-bottom: 20px;
  padding-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .testimonials-container {
    columns: 1;
    padding: 10px;
  }
  p{
    text-align:left;
  }
  section-description {
      margin-bottom: 20px;
  padding-bottom: 20px;
  }
}
.products-section { 
  padding: 10px 0 0 0;
  background-color: #000;
}

/* Flow Section */
.flow-section {
  background-color: #000;
  padding: 50px;
  position: relative;
  overflow: hidden;
}

.flow-heading {
  font-family: "Inter", sans-serif;
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 100;
}

.flow-img-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 1;
  background: #000;
}

.flow-image-container {
  width: 100%;
  height: 400px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("../Assets/interview\ flow.png");
  transition: all 0.4s ease;
  border-radius: 15px;
  position: relative;
}

.flow-image-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.02), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 15px;
}

.flow-image-container:hover::before {
  opacity: 1;
}


/* Scroll Animations */
.slide-section {
  transform: translateY(60px);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s ease;
}

.slide-section.visible {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .tech-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
  }
}

@media (max-width: 991px) {
  .hero-section {
    flex-direction: row;
    text-align: center;
    padding: 40px 20px;
  }

  .content-section {
    padding-left: 0;
    margin-top: 40px;
    order: 2;
    text-align:left
  }

  .main-heading {
    font-size: 2.5rem;
  }

  .services-heading {
    font-size: 2.5rem;
  }

  .stats-heading {
    font-size: 2rem;
    margin-bottom: 60px;
  }

  .tech-heading {
    font-size: 2rem;
    margin-bottom: 60px;
  }

  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }

  .tech-icon {
    width: 50px;
    height: 50px;
  }

  .testimonials-container {
    columns: 2;
    column-gap: 15px;
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .flow-section {
    padding: 50px 0;
  }

  .flow-img-section {
    padding: 0 15px;
  }
}

@media (max-width: 576px) {
  .main-heading {
    font-size: 2rem;
  }

  .services-heading {
    font-size: 1.7rem;
    text-align: center;
    padding-top: 30px;
  }

  .services-section {
    padding: 60px 0;
  }

  .service-card {
    padding: 10px;
    height: 40px;
  }

  .service-title {
    padding-top: 0px;
  }

  .stats-section {
    padding: 10px 0;
  }

  .stats-heading {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }

  .tech-stack-section {
    padding: 10px 0;
  }

  .tech-heading {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 40px;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .tech-icon {
    width: 60px;
    height: 60px;
  }

  .tech-label {
    font-size: 0.8rem;
  }

  .content-section {
    padding: 0 20px;
  }

  .p {
    text-align: left;
  }

  .flow-section {
    padding: 10px 0 30px;
  }

  .flow-img-section {
    padding: 0 10px;
  }

  .flow-image-container {
    background-image: url("../Assets/appInterviewFlow.png");
    height: 500px;
  }

  .testimonials-container {
    columns: 1;
    padding: 10px;
  }
}

/* Utility Classes */
.container-fluid {
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.underline {
  position: relative;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Hide Scrollbar */
.collage-container::-webkit-scrollbar {
  display: none;
}

.collage-container {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 20px;
  background-color: #000;
}