@import url('https://fonts.googleapis.com/css2?family=Emilys+Candy&family=Montserrat+Alternates: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&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

:root {
  --bs-back: #48269d;
  --bs-blue: #0d6efd;
  --bs-indigo: #6200ff;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-light: #c3c3c3;
  --bs-gray-dark: #343a40;
  --bs-primary: #1842b6;
  --bs-secondary: #6610f2;
  --bs-secondary-light: #a46bff;
  --bs-secondary-1: #244cff;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #F8F8F9;
  --bs-dark: #000103;
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace, "Montserrat Alternates";
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0))
}

/* 🌟 Elegant Animated Gold Heading */
.gold-heading {
  position: relative;
  display: inline-block;
  font-size: 1.875rem;
  /* text-3xl */
  font-weight: 800;
  /* font-extrabold */
  background: linear-gradient(90deg, #facc15, #fbbf24, #f97316, #facc15);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 15px rgba(255, 200, 0, 0.25);
  letter-spacing: 0.03em;
  animation: goldGradientMove 5s ease infinite;
}

/* .gold-heading::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #facc15, #f97316, #fbbf24);
  filter: blur(15px);
  opacity: 0.4;
  animation: goldGlowPulse 3s ease-in-out infinite alternate;
  z-index: -1;
  border-radius: 4px;
} */

/* 🔄 Smooth Gradient Animation */
@keyframes goldGradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* 💫 Soft Glow Pulse */
@keyframes goldGlowPulse {
  0% {
    opacity: 0.2;
    transform: scale(1);
  }

  100% {
    opacity: 0.5;
    transform: scale(1.05);
  }
}


*,
*::before,
*::after {
  box-sizing: border-box
}

@media(prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth
  }
}

body {
  margin: 0;
  font-family: "Montserrat Alternates", cursive;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: #787878;
  background: black;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

p {
  margin: 0 0 15px 0;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 25px;
  text-align: justify;
  font-weight: 300;
}

/* Example usage */
.navbar {
  background-color: var(--color-bg-dark);
  box-shadow: var(--shadow-card);
}

.navbar a:hover {
  color: var(--color-primary-light);
  text-shadow: 0 0 5px var(--color-accent);
  transition: var(--transition-fast);
}

@keyframes ticker {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.animate-ticker {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker 12s linear infinite;
}

/* Optional: subtle pause on hover */
.animate-ticker:hover {
  animation-play-state: paused;
}


/* -------------------------------------------------
   🌀 Animations & Effects for Code Dais Website
-------------------------------------------------- */

/* 🎯 News Ticker Animation */
/* Mask fade on edges */
.logos {
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* Logo strip setup */
.logo-track {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  width: max-content;
}

.logo-track img {
  height: 100px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.1));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-track img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.4));
}

/* Infinite scroll animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.animate-scroll {
  animation: scroll 40s linear infinite;
}

/* Pause on hover (optional) */
.logos:hover .animate-scroll {
  animation-play-state: paused;
}

/* ⚡ Responsive speed increase */
@media (max-width: 1024px) {
  .animate-scroll {
    animation-duration: 30s;
    /* slightly faster on tablet */
  }

  .logo-track img {
    height: 80px;
  }
}

@media (max-width: 768px) {
  .animate-scroll {
    animation-duration: 24s;
    /* faster on small tablets */
  }

  .logo-track img {
    height: 70px;
  }
}

@media (max-width: 480px) {
  .animate-scroll {
    animation-duration: 10s;
    /* fastest on mobile */
  }

  .logo-track img {
    height: 60px;
  }
}

/* -------------------------------------------------
   🪄 Optional — Custom Utilities
-------------------------------------------------- */

/* Apply smooth hover effects site-wide */
a,
button {
  transition: all 0.3s ease-in-out;
}

/* Example for glowing buttons */
.btn-gradient {
  background: linear-gradient(45deg,
      #ff0000,
      #ff7300,
      #ffeb3b,
      #ff7300,
      #ff0000);
  background-size: 300% 300%;
  animation: gradientShift 4s infinite;
  color: #fff;
  border: none;
  border-radius: 9999px;
  box-shadow: 0 0 5px rgba(255, 115, 0, 0.8);
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 18px;
  text-decoration: none;
  position: relative;
  top: 0%;
  transition: all 0.3s ease-in-out;
}

.btn-gradient:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.9);
}

/* =================== HERO SECTION ================== */
/* 🔁 Carousel Transitions */
.carousel .slide {
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  position: absolute;
  inset: 0;
}

.carousel .slide.active {
  opacity: 1;
}

/* ✨ Typewriter Effect */
.typewriter-animation {
  overflow: hidden;
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: 0.07rem;
  animation: typing 3.5s steps(60, end), blink-caret 0.75s step-end infinite;
  border-right: 0.15em solid orange;
  font-size: 1.2rem;
  background: linear-gradient(90deg, #ffcc00, #ff0066, #00ccff, #00ff99);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* 🖋 Keyframes */
@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes blink-caret {

  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: orange;
  }
}

/* 🌟 Soft Fade-In for Paragraph */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 1.5s ease-in-out;
}

/* icon style */
.glass-icon {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  transition: all 0.3s ease-in-out;
}

.glass-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.4);
}


/* Hero section  */
/* Optional animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 1s ease forwards;
}

.animate-fadeInRight {
  animation: fadeInRight 1s ease forwards;
}

.animate-fadeInLeft {
  animation: fadeInLeft 1s ease forwards;
}

.carousel-slide {
  transition: opacity 1s ease;
}


/* title underline */
.title-underline {
  position: relative;
  display: inline-block;

}

.title-underline::after {
  content: '';
  position: absolute;
  bottom: -5px;
  /* Adjust this to move the line closer or farther */
  left: 0;
  width: 100%;
  height: 2px;
  /* Thickness of the underline */
  background: linear-gradient(to right, rgba(255, 0, 0, 0) 0%, rgb(188, 188, 188) 30%, rgb(249, 249, 249) 70%, rgba(255, 0, 0, 0) 100%);

  /* Start with scale 0 */
  transform: scaleX(0);
  transform-origin: center;
  /* Expand from the center */
  transition: transform 0.5s ease-in-out;
  animation: expand 2s ease-in-out infinite;
  /* Infinite animation */
}

@keyframes expand {
  0% {
    transform: scaleX(0);
    /* Start at 0 (centered) */
  }

  50% {
    transform: scaleX(1);
    /* Full width */
  }

  100% {
    transform: scaleX(0);
    /* Shrink back to 0 */
  }
}

/* custume underline end */

/* ============ TICKER SECTION ====================== */
/* Container fade edges */


/* 🫧 Blob Morph Animation */
@keyframes blobMorph {
  0% {
    clip-path: path("M240 20C320 40, 440 40, 460 200C480 360, 360 460, 240 480C120 500, 20 380, 40 240C60 120, 160 0, 240 20Z");
  }

  33% {
    clip-path: path("M250 40C360 60, 460 120, 420 250C380 380, 280 460, 180 420C80 380, 20 280, 60 160C100 60, 180 20, 250 40Z");
  }

  66% {
    clip-path: path("M220 30C320 10, 460 80, 440 200C420 320, 320 460, 200 440C80 420, 40 300, 60 180C80 100, 140 50, 220 30Z");
  }

  100% {
    clip-path: path("M240 20C320 40, 440 40, 460 200C480 360, 360 460, 240 480C120 500, 20 380, 40 240C60 120, 160 0, 240 20Z");
  }
}

/* 🌊 Floating Effect */
@keyframes floatUpDown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-25px);
  }
}

/* 🎞 Auto Slide Images */
@keyframes blobSlide {

  0%,
  18% {
    opacity: 1;
  }

  20%,
  100% {
    opacity: 1;
  }
}

.slide:nth-child(1) {
  animation: blobSlide 25s infinite 0s;
}

.slide:nth-child(2) {
  animation: blobSlide 25s infinite 5s;
}

.slide:nth-child(3) {
  animation: blobSlide 25s infinite 10s;
}

.slide:nth-child(4) {
  animation: blobSlide 25s infinite 15s;
}

.slide:nth-child(5) {
  animation: blobSlide 25s infinite 20s;
}

/* about section ================================= */

.stat-card {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  padding: 0.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.stat-card:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.4);
  border-color: rgba(147, 51, 234, 0.5);
}

.scroll-column {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.scroll-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: scrollDown 25s linear infinite;
}

.scroll-content.reverse {
  animation: scrollUp 25s linear infinite;
}

@keyframes scrollDown {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

@keyframes scrollUp {
  0% {
    transform: translateY(-50%);
  }

  100% {
    transform: translateY(0);
  }
}

.img-style {
  border-radius: 1rem;
  width: 95%;
  height: 9.5rem;
  object-fit: fill;
  box-shadow: 0 8px 20px rgba(147, 51, 234, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-style:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(147, 51, 234, 0.5);
}

/* Our service section ================================ */

/* === Smooth Infinite Rotation === */
.animate-orbit-slow {
  animation: orbitRotate 40s linear infinite;
  transform-origin: center;
}

@keyframes orbitRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* === Container for all orbit icons === */
.orbit-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* === Position all icons exactly on the circle path === */
.orbit-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: rotate(var(--angle)) translateY(-175px);
  transform-origin: center;
  font-size: 1.6rem;
}

/* === Keep icons upright === */
.orbit-icon i {
  animation: counterRotate 40s linear infinite;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: white;
  background: linear-gradient(135deg, #ffbf00 0%, #ffd88b 40%, #FFC107 70%, #ff9900 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.25));
  transition: transform 0.3s ease, filter 0.3s ease;

  /* 🟢 Circular shape and glowing border */
  border-radius: 50%;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  background-color: rgba(255, 255, 255, 0.05);
}


@keyframes counterRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

/* === Hover Effects === */
.orbit-icon:hover i {
  transform: scale(1.3);
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.6));
}

/* Why choose us section ============================ */

/* Our client section ======================================== */

/* Card Style */
.client-card {
  background: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
  animation: float 6s ease-in-out infinite;
}

.client-card img {
  width: 2rem;
  height: 2rem;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.15));
}

.client-card:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(0, 195, 255, 0.25), 0 0 40px rgba(168, 85, 247, 0.2);
  background: rgba(30, 30, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.client-card:hover img {
  transform: scale(1.10);
  filter: drop-shadow(0 0 10px rgba(0, 195, 255, 0.4));
}

/* Floating Animation */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Stagger animation for realism */
.client-card:nth-child(odd) {
  animation-delay: 1s;
}

.client-card:nth-child(even) {
  animation-delay: 3s;
}

/* =============== MISSION AND VISION SECTION =================== */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float 8s ease-in-out infinite 2s;
}

.parallax {
  will-change: transform;
  transition: transform 0.2s linear;
}

/* Horizontal scroll for mobile view */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}







/* ======================= pricing page ================================= */

/* Hide scrollbar but keep scroll functionality */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

/* Smooth fade animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.3s ease-out forwards;
}

/* ✅ Responsive Tweaks for Tablet */
@media (max-width: 1024px) {
  section {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .filter-btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
  }
}

/* ✅ Mobile View — Compact Buttons */
@media (max-width: 640px) {
  section {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .filter-btn {
    font-size: 0.65rem;
    /* smaller text */
    padding: 0.25rem 0.7rem;
    /* tighter height */
    border-radius: 9999px;
    white-space: nowrap;
  }

  .filter-btn.active {
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.6);
  }
}

@keyframes wave {
  0% {
    transform: translateX(-100%);
    opacity: 0.6;
  }

  50% {
    transform: translateX(0%);
    opacity: 1;
  }

  100% {
    transform: translateX(100%);
    opacity: 0.6;
  }
}

.animate-wave {
  animation: wave 4s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

/* Floating glowing orbs */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }

  50% {
    transform: translateY(-12px) translateX(8px);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float 7s ease-in-out infinite 1s;
}

.animate-float-slow {
  animation: float 9s ease-in-out infinite 0.5s;
}

.filter-btn.active {
  background: linear-gradient(to right, #7c3aed, #a855f7);
}

/* Make pricing categories swipeable on small & medium screens */
@media (max-width: 1024px) {

  .category .max-w-5xl,
  .category .max-w-6xl {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-bottom: 0.5rem;
  }

  .category .max-w-5xl::-webkit-scrollbar,
  .category .max-w-6xl::-webkit-scrollbar {
    display: none;
    /* hide scrollbar for cleaner look */
  }

  .category .max-w-5xl>div,
  .category .max-w-6xl>div {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }

  @media (max-width: 640px) {

    .category .max-w-5xl>div,
    .category .max-w-6xl>div {
      flex: 0 0 90%;
    }
  }
}

/* ===================== Client section ========================== */
/* --- Logo styling --- */
.client-logo {
  width: 45px;
  height: auto;
  object-fit: contain;
  filter: brightness(0.8);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.client-logo:hover {
  transform: scale(1.1);
  filter: brightness(1);
}

/* --- Infinite smooth scroll --- */
@keyframes scroll-smooth {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.animate-scroll-smooth {
  animation: scroll-smooth 40s linear infinite;
  display: inline-flex;
}

/* Responsive sizes */
@media (max-width: 1024px) {
  .client-logo {
    width: 40px;
  }

  .animate-scroll-smooth {
    animation-duration: 30s;
  }
}

@media (max-width: 768px) {
  .client-logo {
    width: 40px;
  }

  .animate-scroll-smooth {
    animation-duration: 22s;
  }
}

@media (max-width: 480px) {
  .client-logo {
    width: 35px;
  }

  .animate-scroll-smooth {
    animation-duration: 18s;
  }
}

/* ================== Gallery ==================== */
/* Common layout */
.scroll-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
}

/* Gallery images */
.gallery-img {
  width: 12rem;
  height: 8rem;
  border-radius: 0.75rem;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.05);
}

/* Animations */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

.scroll-left {
  animation: scroll-left 40s linear infinite;
}

.scroll-right {
  animation: scroll-right 40s linear infinite;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .gallery-img {
    width: 9rem;
    height: 6rem;
  }
}

@media (max-width: 768px) {
  .gallery-img {
    width: 9rem;
    height: 6rem;
  }

  h2.gold-heading {
    font-size: 1.25rem;
  }

  p {
    font-size: 0.85rem;
  }
}


/* ================= footer ============ */

footer a {
  display: inline-block;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  color: white;
}

footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: linear-gradient(to right, #06b6d4, #a855f7);
  transition: width 0.35s ease;
}

footer a:hover {
  transform: translateX(4px);
  color: #ffffff;
}

footer a:hover::after {
  width: 100%;
  color: white;
}


/* blog page */


/* Category buttons */
.category-btn {
  /* background: linear-gradient(to right, rgba(30,41,59,0.7), rgba(17,24,39,0.6)); */
  /* border: 1px solid rgba(147,51,234,0.2); */
  color: #cbd5e1;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.category-btn:hover {
  border-color: rgba(147, 51, 234, 0.5);
  color: white;
  background: linear-gradient(to right, rgba(147, 51, 234, 0.15), rgba(6, 182, 212, 0.15));
  transform: translateY(-1px);
}

.category-btn.active {
  background: linear-gradient(to right, #06b6d4, #9333ea);
  color: white;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(147, 51, 234, 0.3);
}

.border-gradient {
  border-image: linear-gradient(to bottom, #ec4899, #8b5cf6) 1;
}

.custom-text {
  font-size: 16px;
  color: #ffffff;
  line-height: 25px;
  text-align: justify;
  font-weight: 300;
}

/* 🔹 Apply globally or to a specific class */
.scrollbar-block::-webkit-scrollbar {
  height: 4px;
  /* For horizontal scrollbar height */
  width: 2px;
  /* For vertical scrollbar width */
}

/* Track */
.scrollbar-block::-webkit-scrollbar-track {
  background: transparent;
  /* or rgba(255,255,255,0.05) */
}

/* Thumb */
.scrollbar-block::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #06b6d4, #8b5cf6);
  border-radius: 9999px;
}

/* On hover */
.scrollbar-block::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #22d3ee, #a78bfa);
}


/* ================== RESPONSIVE ======================= */

@media (max-width: 1024px) {
  #hero-carousel h1 {
    font-size: 2rem;
    /* smaller for tablets */
    line-height: 1.3;
  }

  #hero-carousel h6 {
    font-size: 1rem;
  }

  #hero-carousel p {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {

  /* hide location */
  .topbar-location {
    display: none !important;
  }

  /* ONLY show phone number */
  .topbar-text > div.flex-wrap > div:nth-child(2) { 
    display: none !important; /* hide email */
  }

  /* Reduce overall text size */
  .topbar-text,
  .topbar-text a,
  .topbar-text span {
    font-size: 0.65rem;
  }

  /* restructure layout: phone + icons in one line */
  .topbar-text {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  /* Ensure phone number stays in one line */
  .topbar-text .flex-wrap {
    flex-wrap: nowrap !important;
    gap: 6px !important;
  }

  /* Smaller icons */
  #socialIcons a {
    width: 24px !important;
    height: 24px !important;
  }

  #socialIcons lord-icon {
    width: 14px !important;
    height: 14px !important;
  }

  /* Make icons appear inline on mobile */
  #socialIcons {
    display: flex !important;
    flex-direction: row !important;
    gap: 4px !important;
  }

  /* Hide the middle note on mobile */
  .topbar-text .xl\\:flex {
    display: none !important;
  }

  #hero-carousel h1 {
    font-size: 1.5rem;
    /* smaller for mobile */
    line-height: 1.2;
  }

  #hero-carousel h6 {
    font-size: 0.875rem;
  }

  #hero-carousel p {
    font-size: 0.8rem;
    width: 80%;
  }

  #hero-carousel a {
    font-size: 0.75rem;
    padding: 0.2rem 1rem;
  }

  #prevBtn,
  #nextBtn {
    display: none !important;
  }

}

#prevBtn,
#nextBtn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {

  #prevBtn,
  #nextBtn {
    width: 30px;
    height: 30px;
  }
}

/* Force hide Swiper buttons on screens smaller than md */
@media (max-width: 767px) {

  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }
}

/* blog responsive  */
@media (max-width: 767px) {
  .swiper-slide {
    width: 100% !important;
    /* make 1 card fit full width */
    height: auto !important;
    /* adjust height if needed */
  }

  /* hide navigation buttons */
  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }
}