
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Knewave&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    background: #ffffff;
    /*background-image: url('../Assets/websitewall2.png');*/
    background-size: cover;
    background-repeat: no-repeat;
    max-height: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

h2 a {
  text-decoration: none;
  color: inherit; /* Keeps the same heading color */
  transition: color 0.3s ease;
}

h2 a:hover {
  color: #888888; /* Change color on hover */
}


header{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 5px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    color: #000000;
    text-shadow: 2px 4px 12px rgba(255, 255, 255, 0.5);
    background-color: #00000049; 
    position: fixed;
}

.header-heading{
  position: fixed;
}

.scrolling-text {
  position: absolute;
  top: 500px;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  width: 100%;
  background: none; 
  z-index: 1;
}

.scrolling-text h2 {
  display: inline-block;
  font-size: 2rem;
  font-weight: 500;
  padding-left: 100%; /* start off-screen */
  animation: scrollText 10s linear infinite;
  font-size: 5rem;
  color: transparent;
  text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.3); 
  font-family: "Knewave";
}

@keyframes scrollText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}


.parallex {
    position: relative; /* important for absolutely positioned video */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;  /* keeps aspect ratio, covers whole area */
    z-index: -1;        /* send it behind the text/content */
}


.logo{
  border-radius: 24px;
  width: 250px;
  height: 75px;
}

#text{
    font-size: 4rem;
    color: #000000;
    z-index: 1;
    font-weight: 600;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.3); 
    text-align: center;
}

.web-home-des {
    display: flex;
    flex-direction: row;       /* keep items in a row */
    justify-content: space-between; /* distribute evenly across width */
    align-items: center;       /* vertically align in the middle */
    max-width: 100%;    
    max-height: 100%;           /* take full width */
    padding: 20px 50px;        /* some breathing space */
    color: #000000;               /* text stands out on video */
    text-align: center;
}


/* Animation Keyframes */
@keyframes slideFromLeft {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideFromRight {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes scaleIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Applying Animations */
.slide-left {
    animation: slideFromLeft 1s ease forwards;
}

.slide-right {
    animation: scaleIn 1s ease forwards;
    animation-delay: 0s;
    
}

.scale-in {
    animation: slideFromRight 1s ease forwards;
    animation-delay: 0s; /* delay for stagger effect */
}


.web-home-des h2,
.web-home-des h3 {
    flex: 1;   /* each element takes equal space */
    max-width: 30%; /* prevents text from stretching too wide */
    font-size: 2rem;
}


.parallex img{
    height: 25%;
    width: 25%;
    
}

.sec{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #333;
    max-height: 100%;
    padding: 20px;
    z-index: 2;
}

.sec h2{
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.sec p{
    font-size: 1rem;
    color: #ffffff;
    font-weight: 300;
}

#dynamicText {
  font-size: 24px;
  line-height: 1.6;
  color: #ffffff;
  max-width: 800px;
  margin: 50px auto;
  font-family: Arial, sans-serif;
  border-right: 2px solid #333; /* cursor effect */
  white-space: pre-wrap;
  overflow: hidden;
}



.content{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.content p {
    text-align: center;

}

.content img{
    max-width: 500px;
    max-height: 500px;
    border-radius: 10px;
    animation: webimg 3s ease-out;
}

@keyframes webimg {
    from {
        transform: scale(0); /* original size */
    }
    to {
        transform: scale(1); /* zoomed in */
    }
}

.container {
  width: 100%;
            max-width: 100%;
            background: #ffffff;
            padding: 4rem 2rem;

        }

        .max-width {
            
            margin: 0 auto;
        }

        /* Hero Section */
        .hero {
            text-align: center;
            margin-bottom: 4rem;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.8s ease forwards;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 700;
            background: linear-gradient(135deg, #3b82f6, #8b5cf6);
            -webkit-background-clip: text;
            
            background-clip: text;
            margin-bottom: 1.5rem;
            color:#656161;
        }

        .hero p {
            font-size: 1.25rem;
            color: #656161;
            margin: 0 auto;
        }

        /* Stats Grid */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 2fr));
            gap: 2rem;
            margin-bottom: 4rem;
            max-width: 512px;
            margin-left: auto;
            margin-right: auto;
            opacity: 0;
            transform: translateY(50px);
            animation: fadeInUp 1s ease 0.2s forwards;
        }

        .stat-card {
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(10px);
            border-radius: 1rem;
            padding: 1.5rem;
            text-align: center;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .stat-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

        .stat-icon {
            width: 3rem;
            height: 3rem;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            font-size: 1.5rem;
        }

        .stat-icon.green { background: #dcfce7; color: #16a34a; }
        .stat-icon.yellow { background: #fef3c7; color: #d97706; }

        .stat-number {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .stat-number.green { color: #16a34a; }
        .stat-number.yellow { color: #d97706; }

        .stat-label {
            font-size: 0.875rem;
            color: #6b7280;
        }

        /* Interactive Section */
        .interactive-section {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            margin-bottom: 4rem;
        }

        @media (min-width: 1024px) {
            .interactive-section {
                grid-template-columns: 1fr 1fr;
            }
        }

        .demo-card {
            background: white;
            border-radius: 1rem;
            padding: 1.5rem;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            border: 1px solid #e5e7eb;
            opacity: 0;
            transform: translateX(-50px);
            animation: slideInLeft 0.8s ease 0.4s forwards;
        }

        .demo-card:nth-child(2) {
            transform: translateX(50px);
            animation: slideInRight 0.8s ease 0.6s forwards;
        }

        .demo-card h3 {
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        /* Speed Comparison */
        .speed-test {
            margin-bottom: 1.5rem;
        }

        .speed-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1rem;
        }

        .speed-info {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .speed-icon {
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .speed-icon.fast { background: #dcfce7; color: #16a34a; }
        .speed-icon.slow { background: #fee2e2; color: #dc2626; }

        .speed-result {
            text-align: right;
        }

        .speed-time {
            font-family: 'Courier New', monospace;
            font-size: 1.125rem;
            font-weight: 600;
        }

        .progress-bar {
            width: 6rem;
            height: 0.5rem;
            background: #e5e7eb;
            border-radius: 0.25rem;
            overflow: hidden;
            margin-top: 0.25rem;
        }

        .progress-fill {
            height: 100%;
            border-radius: 0.25rem;
            transition: width 0.1s ease;
        }

        .progress-fill.fast { background: #16a34a; }
        .progress-fill.slow { background: #dc2626; }

        .test-button {
            background: linear-gradient(135deg, #3b82f6, #1d4ed8);
            color: white;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 0.5rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: block;
            margin: 0 auto;
        }

        .test-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
        }

        .test-button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        /* Customer Satisfaction */
        .satisfaction-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .satisfaction-item {
            text-align: center;
        }

        .stars {
            display: flex;
            justify-content: center;
            gap: 0.25rem;
            margin-bottom: 0.5rem;
        }

        .star {
            color: #fbbf24;
            font-size: 1rem;
        }

        .satisfaction-number {
            font-size: 1.5rem;
            font-weight: 700;
            color: #1f2937;
        }

        .satisfaction-label {
            font-size: 0.875rem;
            color: #6b7280;
        }

        .testimonials {
            margin-bottom: 1rem;
        }

        .testimonial {
            background: #f9fafb;
            padding: 0.75rem;
            border-radius: 0.5rem;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            margin-bottom: 0.75rem;
            opacity: 0;
            transform: translateX(-20px);
        }
      .testimonial:hover {
          transform: translateX(-10px) scale(2);
          transform: translateY(-10px) scale(2);
          box-shadow: 0 12px 30px rgba(0,0,0,0.2);
      }
        .testimonial-header {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
        }

        .testimonial-stars {
            display: flex;
            gap: 0.125rem;
        }

        .testimonial-stars .star {
            font-size: 0.75rem;
        }

        .testimonial-name {
            font-size: 0.75rem;
            font-weight: 600;
        }

        .testimonial-text {
            font-size: 0.75rem;
            color: #6b7280;
            font-style: italic;
        }

        .client-count {
            text-align: center;
            font-size: 0.875rem;
            color: #6b7280;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        /* Call to Action */
        .cta {
            text-align: center;
            opacity: 0;
            transform: scale(0.9);
            animation: fadeInScale 0.8s ease 0.8s forwards;
            padding: 3rem 2rem;
            background-color: #333333;
        }

        .cta h2 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: #ffffff;
        }

        .cta p {
            font-size: 1.125rem;
            color: #ffffff;
            margin-bottom: 2rem;
            max-width: 512px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-button {
            background: linear-gradient(135deg, #3b82f6, #8b5cf6);
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 0.75rem;
            font-size: 1.125rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            box-shadow: 0 10px 25px rgba(59, 130, 246, 0.25);
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
        }

        /* Animations */
        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideInLeft {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInRight {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes fadeInScale {
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        @keyframes testimonialSlide {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .stats-grid {
                grid-template-columns: 1fr;
                max-width: 320px;
            }
            .logo{
              height: 50px;
              width: 160px;
            }
            
            .satisfaction-grid {
                grid-template-columns: 1fr;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .cta h2 {
                font-size: 2rem;
            }

            .demo-card {
                min-width: auto;
            }
        }

.customers{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #cec6c6;
    /*background: none;*/
    max-height: 100%;
    padding: 25px 10px;
    z-index: 2;
    color: #656161;
}

.customers h2 {
  font-weight: 300;
  font-size: 100px;
  line-height: 1.1;
  
}

.from-right, .from-left {
    display: inline-block;
    will-change: transform;
}


.customer-websites{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 100%;
}

.image-container {
    position: relative;
    overflow: hidden;    
}

.image-container img {
    width:100%;
    max-width: 100%;
    height: 100%;
    object-fit:cover; /* makes image fill while keeping aspect ratio */
    display: block;
    border-radius: 25px;
    transition: transform 0.3s ease;
}


.domain-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 15px;
    opacity: 0;
    transform: translateY(100%);
    transition: all 1s ease;
    text-align: center;
    width: auto;
}

.image-container:hover img {
    transform: scale(1.1);
}

.image-container:hover .domain-text {
    opacity: 1;
    transform: translateY(0);
}


.customer-websites img:hover {
  transform: scale(1.1);
}


.footer {
    background: #000000;
    color: #ffffff;
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
}


.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 9999;
}

.whatsapp-btn img {
  width:  70px;
  height: 70px;
  display: block;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.3);
}


/* ✅ General Responsive Typography */
h1, h2, h3 {
  word-wrap: break-word;
}

/* ✅ Tablet Screens (max-width: 1024px) */


/* ✅ Mobile Screens (max-width: 768px) */
@media (max-width: 768px){
  header {
    padding: 1px 20px;
    flex-direction: column;
    text-align: center;
  }

  .scrolling-text h2 {
    font-size: 2.5rem;
  }

  #text {
    font-size: 2.5rem;
    text-align: center;
    position: relative;
  }

  .web-home-des {
    padding: 15px;
  }

  .web-home-des h2,
  .web-home-des h3 {
    font-size: 1.5rem;
  }

  .customers h2 {
    font-size: 40px;
    text-align: center;
  }

  .content img {
    max-width: 300px;
    max-height: 300px;
  }

  .image-container img{
    max-width: 100%;
    max-height: auto;
  }

  .sec h2 {
    font-size: 2rem;
  }
  .domain-text{
    bottom: -10px;
    left: 0;
    right: 0;
    padding: 2px;
  }
  .domain-text h4{
    font-size: 0.8rem;
  }
  .domain-text p{
    font-size: 0.5rem;
  }
  #dynamicText {
    font-size: 18px;
    padding: 0 15px;
  }

  .whatsapp-btn img {
    width: 55px;
    height: 55px;
  }
      .content{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        padding:10px;
    }

    .content img{
        width: 500px;
        height: 500px;
    }

    .customer-websites{
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
    }
    .parallex{
        flex-direction: column;
        justify-content: center;
    }
    .web-home-des {
        flex-direction: column;
    }
    .web-home-des h2,
    .web-home-des h3 {
        max-width: 100%;
    }

    
    
}

@media (max-width: 468px){
  header {
    padding: 1px 20px;
    flex-direction: column;
    text-align: center;
  }

  .scrolling-text h2 {
    font-size: 2.5rem;
  }

  #text {
    font-size: 2.5rem;
    text-align: center;
    position: relative;
  }

  .web-home-des {
    padding: 15px;
  }

  .web-home-des h2,
  .web-home-des h3 {
    font-size: 1.5rem;
  }

  .customers h2 {
    font-size: 40px;
    text-align: center;
  }

  .content img {
    max-width: 300px;
    max-height: 300px;
  }

  .image-container img{
    max-width: 100%;
    max-height: auto;
  }

  .sec h2 {
    font-size: 2rem;
  }
  .domain-text{
    bottom: -10px;
    left: 0;
    right: 0;
    padding: 2px;
  }
  .domain-text h4{
    font-size: 0.8rem;
  }
  .domain-text p{
    font-size: 0.5rem;
  }
  #dynamicText {
    font-size: 18px;
    padding: 0 15px;
  }

  .whatsapp-btn img {
    width: 55px;
    height: 55px;
  }
      .content{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        padding:10px;
    }

    .content img{
        width: 500px;
        height: 500px;
    }

    .customer-websites{
        display: flex;
        flex-direction: column;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }
    .parallex{
        flex-direction: column;
        justify-content: center;
    }
    .web-home-des {
        flex-direction: column;
    }
    .web-home-des h2,
    .web-home-des h3 {
        max-width: 100%;
    }

    
    
}

