 /*css to flip houndle text besides logo */
@keyframes flipSparkle {
  0% {
    transform: rotateY(0deg);
    opacity: 1;
  }
  40% {
    transform: rotateY(180deg);
    opacity: 0.6;
  }
  50% {
    transform: rotateY(180deg);
    background-image: linear-gradient(90deg, transparent, #ffffff99, transparent);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
  }
  60% {
    transform: rotateY(0deg);
    opacity: 1;
  }
  100% {
    transform: rotateY(0deg);
  }
}

.houndle-flip {
  display: inline-block;
  animation: flipSparkle 2s ease-in-out infinite;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-duration: 10s;
  perspective: 1000px;
  transform-style: preserve-3d;
}


 @keyframes typing {
      from { width: 0 }
      to { width: 150% }
    }

    @keyframes swooshFade {
      0%, 100% { opacity: 0 }
      50% { opacity: 1 }
    }

    @keyframes drift1 {
      0% { transform: translate(0, 0) rotate(0deg); }
      50% { transform: translate(40px, -60px) rotate(180deg); }
      100% { transform: translate(0, 0) rotate(360deg); }
    }

    @keyframes drift2 {
      0% { transform: translate(0, 0) rotate(0deg); }
      50% { transform: translate(-30px, 50px) rotate(-180deg); }
      100% { transform: translate(0, 0) rotate(-360deg); }
    }

    @keyframes drift3 {
      0% { transform: translate(0, 0) rotate(0deg); }
      50% { transform: translate(20px, 70px) rotate(90deg); }
      100% { transform: translate(0, 0) rotate(180deg); }
    }

    @keyframes drift4 {
      0% { transform: translate(0, 0) rotate(0deg); }
      50% { transform: translate(-20px, -40px) rotate(270deg); }
      100% { transform: translate(0, 0) rotate(540deg); }
    }

    .floating-rects-container {
      position: absolute;
      inset: 0;
      z-index: 30;
      pointer-events: none;
    }


    .floating-rect {
      position: absolute;
      border: 2px solid rgba(255, 255, 255, 0.4);
      border-radius: 1.5rem;
      background: none;
      animation: floatUpDown 6s ease-in-out infinite;
    }

    .rect-1 {
      width: 180px;
      height: 120px;
      top: 15%;
      right: 10%;
      animation-name: drift1;
    }

    .rect-2 {
      width: 220px;
      height: 140px;
      top: 40%;
      right: 15%;
      animation-name: drift2;
    }

    .rect-3 {
      width: 160px;
      height: 100px;
      top: 65%;
      right: 20%;
      animation-name: drift3;
    }

    .rect-4 {
      width: 200px;
      height: 130px;
      top: 25%;
      right: 5%;
      animation-name: drift4;
    }

    .rect-5 {
      width: 180px;
      height: 100px;
      bottom: 20%;
      right: 10%;
      animation-delay: 2s;
    }

    .rect-6 {
      width: 200px;
      height: 160px;
      top: 50%;
      right: 5%;
      animation-delay: 3s;
    }

    .typewriter-line {
      display: inline-block;
      overflow: hidden;
      white-space: nowrap;
      border-right: 2px solid white;
      width: 0;
      animation: typing 5s steps(40, end) infinite, swooshFade 5s ease-in-out infinite;
    }

    /* Card container */
.service-card {
  @apply flex flex-col items-center p-6 h-40 bg-white rounded-xl shadow-md transition-all duration-300;
}

/* Icon wrapper */
.icon-container {
  @apply flex justify-center items-center w-16 h-16 mb-4 bg-gray-100 rounded-full transition-colors duration-300 group-hover:bg-purple-600;
}

/* Icon styling */
.service-icon {
  @apply w-8 h-8 transition-all duration-300 filter group-hover:invert;
}

/* Text styling */
.service-text {
  @apply text-lg font-semibold text-gray-800 group-hover:text-white text-center;
}

/* Testing google translate css */
/* Hide Google Translate default widget */
    .goog-te-banner-frame.skiptranslate,
    .goog-logo-link,
    .goog-te-gadget {
      display: none !important;
    }

#google_translate_element {
      display: none;
    }


/* Contact Form Section Styles */
#contact-form {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background: linear-gradient(to right, #f3e8ff, #ffffff, #faf5ff); /* Houndle brand-friendly gradient */
}

#contact-form .input-field {
  padding: 0.75rem;
  background-color: #f5f4ff;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  width: 100%;
  font-size: 1rem;
  outline: none;
  transition: border 0.3s ease;
}

#contact-form .input-field:focus {
  border-color: #7e3af2; /* Houndle Purple */
  box-shadow: 0 0 0 2px rgba(126, 58, 242, 0.2);
}

#contact-form button {
  background-color: #7e3af2;
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  width: 100%;
  transition: background-color 0.3s ease;
}

#contact-form button:hover {
  background-color: #5a23c8;
}

.core-values-section {
  background-color: #394EFF; /* Houndle blue */
  padding: 80px 40px;
  color: white;
}

.core-values-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.core-values-left {
  flex: 1;
  min-width: 250px;
}

.core-values-title {
  font-size: 48px;
  font-weight: 800;
  color: white;
  margin-top: 0;
}

.core-values-right {
  flex: 2;
  min-width: 600px;
}

.core-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.core-value-card {
  display: flex;
  align-items: flex-start;
  background-color: white;
  color: black;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.core-value-icon {
  width: 50px;
  height: 50px;
  margin-right: 15px;
  flex-shrink: 0;
}

.core-value-content h3 {
  font-size: 20px;
  margin: 0 0 5px;
}

.core-value-content p {
  font-size: 16px;
  margin: 0;
}


/* Separator css */
.roadmap-separator {
  position: relative;
  height: 30px;
  width: 100%;
  margin: 40px 0;
}

.separator-line {
  position: absolute;
  top: 50%;
  left: 0;
  height: 6px;
  width: 100%;
  transform: translateY(-50%);
  background: linear-gradient(to right, rgba(102, 126, 234, 0.1), #394EFF, #394EFF);
  border-radius: 3px;
}

.separator-dot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  background-color: #394EFF; /* Houndle blue */
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(57, 78, 255, 0.3);
}


/* data strategy consulting css */
/* HERO SECTION FOR SERVICE PAGE */
.service-hero {
  position: relative;
  background: #666ecb;
  color: white;
  padding: 4rem 2rem 8rem 2rem;
  border-radius: 0 0 2rem 2rem;
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
  z-index: 2;
  position: relative;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-btn {
  background: white;
  color: black;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.wave-background {
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 250px;
  z-index: 1;
  pointer-events: none;
}

.wave-background svg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/* data strategy benefits */
.benefits-section {
    background: #f5f7fb;
    padding: 4rem 2rem;
    text-align: center;
  }

  .benefits-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
  }

  .benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .benefit-card {
    width: 180px;
    padding: 2rem 1rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 500;
    font-size: 1rem;
  }

  .benefit-card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #7d6bff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .benefit-card.dark {
    background: #111;
    color: #fff;
  }

  .benefit-card.light {
    background: #fff;
    color: #111;
  }

  .benefit-card.lime {
    background: #e9fb89;
    color: #111;
  }

  .benefit-card.lavender {
    background: #eee9ff;
    color: #111
  }

  /* What is css */
  .what-is-section {
    background: #f5f7fb;
    padding: 3rem 2rem;
  }

  .qa-container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
  }

  .qa-avatar {
    flex-shrink: 0;
  }

  .avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5e5eff, #bd8cff);
  }

  .qa-content {
    flex: 1;
  }

  .qa-title {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    font-size: 1.1rem;
  }

  .qa-box {
    background: #eee9ff;
    padding: 1.5rem;
    border-radius: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Problems solutions css for data strategy consulting */
  .problems-solutions {
  background-color: #f5f6fa;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.problem-solution-pair {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.problem-box,
.solution-box {
  flex: 1 1 45%;
  padding: 2rem;
  box-sizing: border-box;
}

.problem-box {
  background: #ffffff;
}

.solution-box {
  background-color: #6b4eff; /* Houndle Purple */
  color: #ffffff;
}

.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.3rem 0.75rem;
  background: #e0defd;
  color: #3d348b;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.solution-box .label {
  background: #ffffff;
  color: #6b4eff;
}

.problem-box h3,
.solution-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.problem-box p,
.solution-box p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .problem-solution-pair {
    flex-direction: column;
  }

  .problem-box,
  .solution-box {
    flex: 1 1 100%;
  }
}

/* Our Software Stack css */
/* === Tech Stack Section === */
.tech-stack {
  background-color: #f7f9fc;
  padding: 60px 20px;
}

.tech-stack h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: #1f1f1f;
}

.stack-category {
  margin-bottom: 40px;
}

.stack-category h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #222;
  padding-left: 12px;
}

.stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  justify-content: center;
}

.stack-row img {
  height: 48px;
  object-fit: contain;
  padding: 8px 12px;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stack-row img:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}


/* Our software stack scrolling css */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-scroll {
  display: inline-flex;
  animation: scroll 10s linear infinite;
}

/* Base back styles */
.core-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Always 2 columns */
  gap: 20px;
}

/* Responsive behavior for smaller screens */
@media (max-width: 768px) {
  .core-values-grid {
    grid-template-columns: 1fr; /* Stack cards on smaller screens */
  }
}


.core-value-card {
  perspective: 1000px;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 220px;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

/* Flip on hover */
.core-value-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  background: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card-back {
  transform: rotateY(180deg);
  color: white;
}

.integrity-card .card-back {
  background: linear-gradient(135deg, #6B46C1, #805AD5);
}

.innovation-card .card-back {
  background: linear-gradient(135deg, #3182CE, #63B3ED);
}

.collaboration-card .card-back {
  background: linear-gradient(135deg, #38A169, #68D391);
}

.excellence-card .card-back {
  background: linear-gradient(135deg, #D69E2E, #ECC94B);
}

.back-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  filter: brightness(0) invert(1);
}

.core-value-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

/* --- Privacy Policy Page Styles --- */

.privacy {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.privacy h1 {
  font-size: 2.5rem;
  color: #5b2e91; /* Houndle Purple */
  margin-bottom: 20px;
  text-align: center;
}

.privacy h2 {
  color: #5b2e91;
  margin-top: 40px;
  font-size: 1.5rem;
  border-left: 4px solid #5b2e91;
  padding-left: 12px;
}

.privacy p {
  margin: 16px 0;
  font-size: 1rem;
  color: #444;
}

.privacy ul {
  padding-left: 20px;
  margin-top: 10px;
}

.privacy li {
  margin-bottom: 10px;
}

.privacy a {
  color: #5b2e91;
  text-decoration: underline;
}

.privacy a:hover {
  text-decoration: none;
}

footer.privacy-footer {
  text-align: center;
  margin-top: 60px;
  padding-top: 20px;
  font-size: 0.9rem;
  color: #888;
  border-top: 1px solid #e0e0e0;
}

/* chatbot css */
.chat-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #f3f4f6;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
}

.chat-input,
.chat-textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.chat-submit {
  background-color: #8b5cf6;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.chat-submit:hover {
  background-color: #7c3aed;
}

/* css to flip logo in chat preview */
/* Flip Animation */
@keyframes flip {
  0% { transform: rotateY(0); }
  50% { transform: rotateY(180deg); }
  100% { transform: rotateY(360deg); }
}

.flip-animation {
  animation: flip 5s linear infinite;
}


/*css for active link */
.nav-active {
  color: #7e22ce; /* Tailwind's purple-700 */
  font-weight: 600;
}

/*css for recaptcha */
.recaptcha-container {
  display: flex;
  justify-content: center; /* center horizontally */
  margin: 20px 0;          /* optional spacing */
}

 