  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* === RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
}

/* === HEADER === */
header.main-header {
  background-color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  flex-shrink: 0; /* Prevent shrinking in flex layout */
  display: flex;
  align-items: center; /* Center vertically in flex container */
}
.logo img {
  height: 50px; /* Consistent height for all breakpoints */
  width: auto;
  max-width: 150px; /* Prevent overflow */
  object-fit: contain; /* Maintain aspect ratio */
}
.video-panel {
  background-color: #ffffff;
  padding: 120px 40px;
}

.video-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.video-text-box {
  background: #f4f4f4;
  border-radius: 24px;
  padding: 50px;
  max-width: 520px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  flex: 1 1 420px;
}

.video-text-box h2 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #111111, #5555ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.video-text-box p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  background: #111111;
  color: #fff;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #333;
}

.video-display {
  flex: 1 1 640px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
}

.video-display video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 24px;
}

.chat-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
}

.chat-launcher img {
  width: 60px;
  height: auto;
  cursor: pointer;
}

.chat-bubble-text {
  background: white;
  color: #111827;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  animation: fadeInLeft 0.6s ease-out;
  font-family: 'Segoe UI', sans-serif;
  white-space: nowrap;
  margin-right: 100px;     /* ✅ Large spacing from the bot */
  transform: translateX(-30px);  /* ✅ Extra visual push */
}



/* Fade in from the left */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Make the bubble reappear on hover */
.chat-launcher:hover .chat-bubble-text {
  display: inline-block !important;
}

/* === Tools / Tech Stack Section === */

.carousel-wrapper {
  padding: 3.5rem 1.5rem;
  background: #050816;              /* dark section to separate from hero */
  border-radius: 1.5rem;
  max-width: 1100px;
  margin: 3rem auto 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

/* Optional subtle top border glow */
.carousel-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(148, 163, 184, 0.25);
  pointer-events: none;
}

/* Header text above the logos */
.stack-header {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: left;
}

.stack-header h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  color: #e5e7eb; /* light */
  margin-bottom: 0.75rem;
}

.stack-header p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #9ca3af; /* gray */
}

/* Carousel area */
.carousel-track {
  overflow: hidden;
  width: 100%;
}

.carousel-inner {
  display: flex;
  align-items: center;
}

/* The logo row itself */
.carousel-content {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0.5rem 0;
  /* If you already have JS moving this, keep that.
     If not, you can uncomment the animation below for a pure CSS scroll. */
  /* animation: stackScroll 25s linear infinite; */
}

.carousel-content img {
  height: 38px;
  width: auto;
  opacity: 0.75;
  filter: grayscale(100%);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    filter 0.25s ease;
}

/* Hover effect: subtle, feels premium */
.carousel-content img:hover {
  transform: translateY(-4px) scale(1.05);
  opacity: 1;
  filter: grayscale(0%);
}

/* Optional: infinite scroll keyframes if you want pure CSS motion
@keyframes stackScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
*/

/* Responsive tweaks */
@media (max-width: 768px) {
  .carousel-wrapper {
    padding: 2.5rem 1.25rem;
    margin-top: 2.5rem;
    border-radius: 1.25rem;
  }

  .stack-header {
    text-align: left;
  }

  .stack-header h2 {
    font-size: 1.3rem;
  }

  .stack-header p {
    font-size: 0.9rem;
  }

  .carousel-content {
    gap: 1.75rem;
  }

  .carousel-content img {
    height: 32px;
  }
}


/* === NAVIGATION === */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-grow: 1;
  justify-content: center;
}

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 32px;
  padding-left: 0;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: black;
  transition: width 0.3s ease-in-out;
}

.nav-links a:hover::after {
  width: 100%;
}
/* === Base Chat Bubble === */
.message {
  display: inline-block;
  padding: 12px 16px;
  margin: 8px 0;
  max-width: 80%;
  font-size: 14px;
  line-height: 1.6;
  word-wrap: break-word;
  border-radius: 18px;
  white-space: pre-wrap;
}

/* === User Bubble === */
.message.user {
  align-self: flex-end;
  background: linear-gradient(to right, #4f46e5, #06b6d4);
  color: white;
  border-radius: 18px 18px 4px 18px;
}

/* === Bot Bubble === */
.message.bot {
  align-self: flex-start;
  background: #f3f4f6;
  color: #111;
  border-radius: 18px 18px 18px 4px;
}

/* === Inner span reset to prevent overrides */
.message span {
  display: inline;
  background: transparent;
  border-radius: 0;
}

/* === Typing Animation Bubble === */
.message.typing {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f3f4f6;
  color: #555;
  padding: 12px 16px;
  margin: 4px 0;
  border-radius: 18px 18px 18px 4px;
  max-width: 80%;
  align-self: flex-start;
}

.typing-text {
  font-style: italic;
  font-size: 14px;
  color: #777;
}

.typing-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  background-color: #999;
  border-radius: 50%;
  display: inline-block;
  animation: typingBlink 1.4s infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBlink {
  0%, 80%, 100% {
    opacity: 0.3;
    transform: scale(0.9);
  }
  40% {
    opacity: 1;
    transform: scale(1.3);
  }
}


/* === BUTTONS === */
.nav-button {
  padding: 17px 24px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #007961, #099078);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 14px rgba(0, 120, 100, 0.3);
  text-decoration: none !important;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  width: auto;
  min-width: 120px;
  max-width: 180px;
  text-align: center;
}

.nav-button:hover {
  background: linear-gradient(135deg, #177c5a, #149c91);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 148, 136, 0.5);
}


/* ✅ Hover effect */
.nav-button:hover {
  background: linear-gradient(135deg, #177c5a, #149c91);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 148, 136, 0.5);
}




/* === Mobile === */
@media (max-width: 768px) {
  .header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 20px;
    position: static;
  }
 .portfolio-projects {
    width: 100% !important;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

 .project-card {
   width: 100% !important;
   max-width: 95vw;
   margin: 0 auto;
   border-radius: 14px;
   overflow: hidden;
   box-shadow: 0 4px 10px rgba(0,0,0,0.08);
   background-color: #fff;
}


  .project-img {
    width: 100%;
    height: 200px;
    background-color: #ccc;
  }

  .project-content {
    padding: 24px;
    text-align: center;
  }

  .project-content h4 {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
  }

  .project-content p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 12px;
  }

  .tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
  }

  .tags span {
    background: #f0f0f0;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: #222;
  }

  .view-project {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    margin-top: 10px;
  }
}
  .logo img {
    height: 60px;
    width: auto;
  }

  /* ✅ Hamburger Button (Top Right) */
  .menu-toggle.open-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 30px;
    right: 20px;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1101;
  }

  .menu-toggle.open-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #111;
    border-radius: 2px;
    transition: 0.3s ease;
  }

  /* ❌ Close Button inside Menu */
  .close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1102;
  }

  /* ✅ Mobile Nav Menu */
  .mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 280px;
    background-color: #ffffff;
    padding: 40px 20px;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: left 0.3s ease;
  }

  .mobile-nav.active {
    left: 0;
  }

  .mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0;
    margin: 60px 0 0 0;
  }

  .mobile-nav ul li a {
    font-size: 18px;
    font-weight: 500;
    color: #111;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    width: 100%;
  }

  .mobile-nav .nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 40px;
    align-items: center;
  }

  .nav-buttons .nav-button {
    width: auto;
    padding: 14px;
    font-size: 16px;
  }

  /* ✅ Hide desktop elements */
  .nav-links.desktop-only,
  .nav-buttons.desktop-only {
    display: none !important;
  }



  /* Desktop Sticky Header Fixed */

@media (min-width: 769px) {
  body {
    padding-top: 90px; /* Increased to match new header height */
    margin: 0;
    min-height: 2000px; /* Temporary: Ensure scrollable content for testing */
  }

  .main-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 90px !important; /* Increased from 80px to 90px */
    background-color: white !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    z-index: 1000 !important;
  }

  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 90px; /* Increased from 80px to 90px */
    box-sizing: border-box;
  }

  .logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
  }

  .logo img {
    height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block;
  }

  .nav-links.desktop-only a {
    font-weight: 700;
    font-size: 18px;
  }

  .nav-links.desktop-only {
    display: flex !important;
    justify-content: center;
    flex-grow: 1;
  }

  .nav-links.desktop-only ul {
    display: flex;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .nav-buttons.desktop-only {
    display: flex !important;
    gap: 12px;
  }

  .menu-toggle {
    display: none !important;
  }

  .mobile-nav {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .main-header {
    position: static;
  }

  .header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 20px;
  }

  .logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
  }

  .logo img {
    height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block;
  }
}


.nav-button {
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #007961, #099078);
  color: white;
  cursor: pointer;
  transition: 0.3s ease;
  max-width: 150px;
  flex: 1;
}

.nav-button:hover {
  background: linear-gradient(135deg, #005f4d, #057a67);
  transform: translateY(-1px);
}

/* === DESKTOP LAYOUT === */
.hero-desktop {
  display: flex;
  justify-content: center;
}

.hero-desktop .hero-content {
  display: flex;
  gap: 60px;
  max-width: 1200px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.hero-left {
  flex: 1;
}

.hero-left h1 {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-left p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-right {
  flex: 1;
}

.hero-right .carousel {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 400px;
}
.carousel {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
}

.carousel-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.6s ease;
  opacity: 0;
  z-index: 0;
  border-radius: 12px;
}

.carousel-card.active {
  opacity: 1;
  z-index: 1;
}

.carousel-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

body {
  font-family: 'Inter', sans-serif;
}

/* === CHAT TOGGLE BUTTON (Floating Icon) === */
#chat-toggle-btn {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  z-index: 99999 !important;
  width: 90px; /* Increased from 64px */
  height: 90px; /* Increased from 64px */
  border: none;
  background-color: transparent;
  padding: 0;
  cursor: pointer;
}

#chat-toggle-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

#chat-toggle-btn img:hover {
  transform: scale(1.1); /* More noticeable hover */
}


/* === CHAT CONTAINER BOX === */
.chat-bot-container {
  position: fixed !important;
  bottom: 100px !important;
  right: 30px !important;
  width: 420px;
  max-height: 700px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  z-index: 99998 !important;
  overflow: hidden;
}

/* === CHAT HEADER === */
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  color: white;
}

.chat-header img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-header h4 {
  margin: 0;
  font-size: 18px;
}

/* === CHAT BODY & BUBBLES === */
.chat-body {
  padding: 16px;
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.chat-body p,
.chat-body span {
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 0 0 10px 0;
}

.message {
  display: inline-block;
  padding: 12px 16px;
  margin: 8px 0;
  max-width: 80%;
  font-size: 14px;
  line-height: 1.6;
  word-wrap: break-word;
  border-radius: 18px;
  white-space: pre-wrap;
}

.message.user {
  align-self: flex-end;
  background: linear-gradient(to right, #4f46e5, #06b6d4);
  color: white;
  border-radius: 18px 18px 4px 18px;
}

.message.bot {
  align-self: flex-start;
  background: #f3f4f6;
  color: #111;
  border-radius: 18px 18px 18px 4px;
}

.message.typing {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f3f4f6;
  color: #555;
  padding: 12px 16px;
  margin: 4px 0;
  border-radius: 18px 18px 18px 4px;
  max-width: 80%;
  align-self: flex-start;
}

.typing-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  background-color: #999;
  border-radius: 50%;
  display: inline-block;
  animation: typingBlink 1.4s infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBlink {
  0%, 80%, 100% {
    opacity: 0.3;
    transform: scale(0.9);
  }
  40% {
    opacity: 1;
    transform: scale(1.3);
  }
}

/* === CHAT FOOTER === */
.chat-footer {
  padding: 16px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-footer input,
.chat-footer button {
  padding: 12px;
  font-size: 14px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  width: 100%;
  box-sizing: border-box;
}

.chat-footer button {
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.chat-footer button:hover {
  transform: scale(1.02);
}

/* === BRANDING === */
.chat-branding {
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.chat-branding svg {
  width: 16px;
  height: 16px;
  fill: #6b7280;
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
  #chat-toggle-btn {
    bottom: 20px !important;
    right: 20px !important;
    width: 56px;
    height: 56px;
  }

  .chat-bot-container {
    width: 90% !important;
    right: 5% !important;
    bottom: 90px !important;
    max-height: 80vh !important;
  }
}



/* === MOBILE LAYOUT === */
.hero-mobile {
  display: none;
}

/* === MOBILE LAYOUT (Updated) === */
.hero-mobile .hero-content {
  max-width: 600px;
  margin: auto;
  text-align: center;
  padding: 5px 10px 40px; /* ⬅️ reduced top padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-mobile h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-mobile p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.hero-mobile .carousel {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 320px;
}

.hero-mobile .carousel-card {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-mobile .carousel-card.active {
  opacity: 1;
  z-index: 2;
}

.hero-mobile .carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-mobile .hero-buttons {
  display: flex;
  gap: 12px;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}

/* === VISIBILITY TOGGLE === */
@media (max-width: 768px) {
  .hero-desktop {
    display: none;
  }

  .hero-mobile {
    display: block;
  }
}


/* Services Section */
.services-section {
  padding: 140px 80px;
  background-color: #ffffff;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.services-subtitle {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 12px;
}

.services-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 26px;
  color: #111;
}

.services-description {
  font-size: 22px;
  color: #333;
  line-height: 1.8;
  max-width: 800px;
  margin-bottom: 40px;
}

.services-cards {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.service-card {
  width: 340px;
  text-align: left;
}

.card-img {
  width: 100%;
  height: 300px;
  border-radius: 14px;
  object-fit: cover;
  background-color: #ddd;
  margin-bottom: 24px;
}

.service-card h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111;
}

.service-card p {
  font-size: 16px;
  color: #1a1919;
  line-height: 1.6;
}

/* ✅ Services Buttons — Properly Left-Aligned */
.services-section .services-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  padding-top: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
s
.services-section .services-buttons .nav-button {
  font-size: 16px;
  padding: 12px 24px;
  font-weight: 600;
}

.services-section .services-buttons .nav-button:last-child::after {
  content: " →";
  font-weight: bold;
}

/* Fade Animation */
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 960px) {
  .services-container {
    text-align: center;
  }

  .services-cards {
    justify-content: center;
    gap: 40px;
  }

  .service-card {
    width: 100%;
    max-width: 400px;
  }

  .card-img {
    height: 240px;
  }

  .services-section .services-buttons {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .services-section .services-buttons .nav-button {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

  nav {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-top: 10px;
  }

  .nav-right {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .nav-button {
    width: 100%;
    text-align: center;
  }



/* === Portfolio Section === */
.portfolio-section {
  position: relative;
  background-color: #ffffff;
  padding: 100px 20px;
  overflow: hidden;
  z-index: 0;
}

/* Canvas wrapper to hold particles behind */
.portfolio-section .particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Canvas background itself */
#portfolio-particles {
  width: 100%;
  height: 100%;
  display: block;
  background-color: transparent;
}

/* Main content wrapper inside portfolio */
.portfolio-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  background-color: transparent;
  padding-top: 40px;
}

.portfolio-header {
  margin-bottom: 50px;
}

.portfolio-subtitle {
  font-size: 16px;
  text-transform: uppercase;
  color: #666;
  font-weight: 600;
  margin-bottom: 12px;
}

.portfolio-title {
  font-size: 42px;
  font-weight: 800;
  color: #111;
  margin-bottom: 20px;
}

.portfolio-description {
  font-size: 18px;
  color: #444;
  max-width: 600px;
}

.portfolio-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.project-card {
  background-color: #f5f5f5;
  width: calc(50% - 20px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.project-img {
  width: 100%;
  height: 240px; /* Ensures consistent height for all cards */
  background-color: #d6d6d6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.project-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.project-content {
  padding: 20px;
  line-height: 1.8;
  color: #111;
}

.project-content h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111;
}

.project-content p {
  font-size: 15px;
  margin-bottom: 12px;
  color: #444;
}

.tags span {
  display: inline-block;
  background: #e0e0e0;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 16px;
  margin-right: 6px;
  margin-bottom: 6px;
}

.view-project {
  display: inline-block;
  margin-top: 10px;
  color: #000;
  font-weight: 600;
  text-decoration: none;
}
.project-card.logo-centered .project-img {
  width: 100%;
  height: 240px; /* Ensures consistent height for all cards */
  background-color: #d6d6d6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-card.logo-centered .project-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* === Figma Design Section === */
.figma-section {
  position: relative;
  background-color: #ffffff;
  color: #070707;
  padding: 100px 40px;
  overflow: hidden;
}

.figma-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.figma-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 0;
}

.figma-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: #00bfff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.figma-title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #111;
}

.figma-description {
  max-width: 700px;
  margin: 0 auto;
  text-align: left; /* Left-align the text inside */
  font-size: 20px;
  line-height: 1.6;
  color: #444;
}

/* === Scroll Indicator below description === */
.scroll-indicator {
  text-align: center;
  font-size: 14px;
  color: #00ccff;
  margin-top: 12px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* === Cards Slide on Scroll === */
.scroll-slide {
  opacity: 0;
  transform: translateX(80px);
  transition: all 0.8s ease-out;
}

.scroll-slide.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* === Deck Slider === */
.figma-slider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
  position: relative;
  height: 500px;
}

.figma-slide {
  background: linear-gradient(145deg, #ffffff, #f1f1f1);
  border: 1px solid #e3e3e3;
  padding: 36px 32px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 190, 255, 0.1);
  width: 100%;
  max-width: 680px;
  min-height: 600px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 0;
  /* Flex layout for proper content alignment */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  text-align: left;
}

.figma-slide.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  z-index: 1;
}

.figma-slide:hover {
  box-shadow: 0 16px 40px rgba(0, 190, 255, 0.2);
  transform: translate(-50%, -52%) scale(1.02);
}

.figma-slide img {
  max-width: 260px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.figma-slide h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #007bff;
}

.figma-slide p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin: 0;
}


 /* About Us */
.luv-about-section {
  background: #fff;
  padding: 120px 40px;
  font-family: 'Inter', sans-serif;
  display: flex;
  justify-content: center;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.luv-about-container {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}


.luv-about-text {
  max-width: 100%;
}

.luv-about-text .label {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #6b7280;
  text-transform: uppercase;
  margin-bottom: 24px;
}


.luv-about-text h2 {
  font-size: 2.5rem;
  color: #111827;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.5;
}

.luv-about-text p {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 18px;
  line-height: 1.9;
}


.luv-about-text a {
  color: #1d4ed8;
  font-weight: 500;
  text-decoration: underline;
}

.luv-about-image-wrapper {
  display: flex;
  justify-content: center;
}

.luv-about-image {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.luv-about-image:hover {
  filter: grayscale(0%);
}

.luv-about-list {
  list-style: none;
  margin: 30px 0;
  padding-left: 0;
}

.luv-about-list li {
  position: relative;
  font-size: 1rem;
  color: #1f2937;
  margin-bottom: 14px;
  padding-left: 20px;
}

.luv-about-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #1d4ed8;
  font-size: 1.25rem;
  line-height: 1;
  top: 1px;
}

.luv-about-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 30px;
  background-color: #1d4ed8;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.luv-about-btn::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 100%;
  top: 0;
  left: -100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.luv-about-btn:hover::after {
  left: 100%;
}

.luv-about-btn:hover {
  background-color: #1e40af;
}

.animated-label {
  opacity: 0;
  transform: translateY(20px);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1d4ed8;
  font-size: 0.875rem;
  position: relative;
  display: inline-block;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animated-label.visible {
  opacity: 1;
  transform: translateY(0);
  animation: glowFlicker 2s ease-in-out forwards;
}

@keyframes glowFlicker {
  0% {
    text-shadow: 0 0 0 rgba(93, 166, 255, 0);
  }
  40% {
    text-shadow: 0 0 6px rgba(93, 166, 255, 0.4), 0 0 12px rgba(93, 166, 255, 0.3);
  }
  60% {
    text-shadow: 0 0 8px rgba(93, 166, 255, 0.6), 0 0 16px rgba(93, 166, 255, 0.4);
  }
  100% {
    text-shadow: 0 0 12px rgba(93, 166, 255, 0.8), 0 0 24px rgba(93, 166, 255, 0.6);
  }
}
.about-cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 23px;
  font-size: 1.1rem;
  font-weight: 500;
  background: linear-gradient(135deg, #126449, #0d9488); /* Deep navy to teal */
  border: none;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(13, 148, 136, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
  color: #ffffff;
}

.about-cta-button:hover {
  background: linear-gradient(135deg, #177c5a, #149c91); /* Slightly darker on hover */
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 148, 136, 0.5);
}

/* ✅ Force white color and no underline in ALL states */
.about-cta-button,
.about-cta-button:visited,
.about-cta-button:hover,
.about-cta-button:active,
.about-cta-button:focus {
  color: #ffffff !important;
  text-decoration: none !important;
}
 /* Mobile Optimized About Us */
@media (max-width: 768px) {
  .luv-about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .luv-about-text {
    text-align: left;
    padding: 0 20px;
  }

  .luv-about-image-wrapper {
    order: 2; /* Ensures image goes below text */
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .luv-about-image {
    width: 75%;
    max-width: 280px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }
}

/* Contact Section */
.luv-contact-section {
  padding: 100px 60px;
  background: #fff;
  font-family: 'Inter', sans-serif;
}

.luv-contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}

.luv-contact-info {
  flex: 1;
  min-width: 300px;
}

.section-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #555;
  margin-bottom: 12px;
  font-weight: 600;
}

.luv-contact-info h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-lead {
  font-size: 16px;
  margin-bottom: 32px;
  color: #444;
}

.info-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 30px;
}

.info-block span {
  font-size: 20px;
  margin-top: 4px;
}

.info-block p {
  margin: 0;
  font-size: 15px;
  color: #222;
}

.info-block a {
  color: #1d4ed8;
  text-decoration: underline;
  font-size: 15px;
}

/* Form Container */
.luv-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
  min-width: 320px;
  max-width: 600px;
}

.luv-image-section {
  margin-top: 30px;
  margin-bottom: 10px;
  text-align: left; /* Align to left like the contact info */
  padding-left: 0;  /* Remove any offset pushing it right */
}

.luv-image-section img {
  max-width: 180px;
  height: auto;
  display: inline-block; /* Prevent stretching or full-width display */
}


/* Title */
.luv-contact-form h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}

/* Form Styling */
.luv-contact-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.luv-contact-form input,
.luv-contact-form textarea {
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  width: 100%;
}

.luv-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* Submit Button */
.luv-contact-form button {
  width: 140px;
  padding: 12px;
  background: #111;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s ease;
}

.luv-contact-form button:hover {
  background: #333;
}

/* Success message */
.form-success-message {
  background: #e6ffed;
  color: #05652d;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: none;
  font-weight: 600;
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .luv-contact-wrapper {
    flex-direction: column;
    gap: 60px;
  }

  .luv-image-section img {
    max-width: 200px;
  }

  .luv-contact-form {
    max-width: 100%;
  }
}
.luv-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #333;
  margin: 12px 0 20px;
  max-width: 100%;
  flex-wrap: wrap;
}

.luv-checkbox-wrapper input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}

.luv-checkbox-wrapper label {
  line-height: 1.5;
  cursor: pointer;
  flex: 1;
  min-width: 0;
}

.luv-footer {
  background-color: #0f172a;
  color: white;
  padding: 30px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.luv-footer-container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left p {
  margin: 4px 0;
  font-size: 14px;
}

.social-icon {
  background: #1d4ed8;
  padding: 10px;
  border-radius: 50%;
  display: inline-block;
  transition: background 0.3s;
}

.social-icon:hover {
  background: #2563eb;
}
.luv-seo-impact {
  background: #f1f5f9;
  padding: 80px 20px;
  text-align: center;
}

.luv-seo-impact h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.luv-seo-impact .highlight {
  color: #4f46e5;
}

.progress-bar {
  width: 100%;
  max-width: 500px;
  height: 18px;
  background-color: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  margin: 20px auto;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
}

.fill-glow {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
  border-radius: 10px;
  transition: width 2s ease-in-out;
  box-shadow: 0 0 20px rgba(79,70,229, 0.6), 0 0 10px rgba(124,58,237, 0.5);
  animation: glowPulse 2s infinite alternate;
}

@keyframes glowPulse {
  from {
    box-shadow: 0 0 10px rgba(79,70,229, 0.4);
  }
  to {
    box-shadow: 0 0 25px rgba(124,58,237, 0.8);
  }
}

.percent {
  margin-top: 10px;
  font-weight: 600;
  color: #334155;
}

.luv-testimonials-section {
  position: relative;
  padding: 120px 20px;
  text-align: center;
  overflow: hidden;
}
.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, rgba(0,200,255,0.1), transparent 60%), radial-gradient(circle at 70% 70%, rgba(255,0,150,0.1), transparent 60%);
  animation: pulse-bg 8s ease-in-out infinite;
}
@keyframes pulse-bg {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}
.luv-testimonials-section {
  position: relative;
  padding: 120px 20px;
  text-align: center;
  overflow: hidden;
  background: #020617;
}
.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.testimonial-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: auto;
}
.testimonial-title {
  font-size: 42px;
  font-weight: 900;
  color: #f8fafc;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}
.testimonial-subtitle {
  font-size: 20px;
  color: #94a3b8;
  margin-bottom: 50px;
}
.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.testimonial-card {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  border-radius: 24px;
  padding: 40px 30px;
  max-width: 360px;
  flex: 1 1 280px;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1), opacity 1s ease;
}
.testimonial-card.visible {
  opacity: 1;
  transform: scale(1);
}
.testimonial-card:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.stars {
  color: #facc15;
  font-size: 22px;
  margin-bottom: 15px;
}
.testimonial-text {
  font-size: 17px;
  color: #334155;
  margin-bottom: 15px;
  font-style: italic;
  line-height: 1.7;
  font-family: 'Inter', sans-serif;
}
.testimonial-author {
  font-weight: 700;
  color: #0f172a;
  font-family: 'Inter', sans-serif;
}
.testimonial-date {
  font-size: 14px;
  color: #64748b;
  margin-top: 5px;
}
.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}
.seo-section {
  position: relative;
  background-image: url('seo-background2.png'); /* your new bg image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  padding: 140px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

.seo-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.seo-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.4s ease-out;
}

.seo-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.seo-title-image {
  width: 240px;
  margin: 0 auto 30px;
  display: block;
  opacity: 0;
  transform: translateY(60px) scale(0.9);
  transition: all 1.4s ease-out;
}

.seo-title-image.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.seo-description {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(to right, #38bdf8, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #f1f5f9; /* fallback */
}



.seo-title-image {
  width: 240px;
  max-width: 90%;
  margin: 0 auto 30px;
  display: block;
  opacity: 0;
  transform: translateY(60px) scale(0.9);
  transition: all 1.3s ease-out;
  will-change: transform, opacity;
}


.seo-image-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.seo-description-gradient {
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  line-height: 1.7;
  background: linear-gradient(to right, #38bdf8, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Inter', sans-serif;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.2s ease-out;
}
.seo-cube-image {
  margin-top: 40px;
  width: 160px;
  max-width: 80%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: all 1.4s ease;
}

.seo-cube-image.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}


 /* Menu Scroll */
html {
  scroll-behavior: smooth;
}
