:root {
  --primary:#FF6600;
  --primary-600:#ff6f14;
  --primary-700:#e05600;
}

/* Global */
body { 
  font-family: Podkova, serif !important;
}

/* ===== Preloader ===== */
#preloader {
  background-color: #fff;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  transition: opacity 0.5s ease-out;
}
#preloader img {
  width: 100px;
  height: auto;
  animation: logo-bounce 1s infinite alternate;
}
.loader-text {
  font-family: sans-serif;
  font-size: 1.2rem;
  color: #333;
  animation: fade-in-out 2s infinite;
}
.loader-dots {
  display: flex;
  gap: 10px;
}
.preloader-dot {
  width: 10px; height: 10px;
  background-color: #333;
  border-radius: 50%;
  animation: dot-bounce 1s infinite;
}
.preloader-dot:nth-child(2) { animation-delay: 0.2s; }
.preloader-dot:nth-child(3) { animation-delay: 0.4s; }
.preloader-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Preloader Animations */
@keyframes logo-bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-20px); }
}
@keyframes fade-in-out {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}
@keyframes dot-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Responsive Preloader */
@media (max-width: 768px) {
  #preloader img { width: 80px; }
  .loader-text { font-size: 1rem; }
  
}

@media (max-width: 480px) {
  #preloader img { width: 60px; }
  .loader-text { font-size: 0.9rem; }
  .preloader-dot { width: 8px; height: 8px; }
  .navbar-toggler {
      padding:5px;
  }
}
header {
  transition: background-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}
/* ===== Navbar ===== */
.navbar { 
    /*background: #fff; */
    
}
.navbar .nav-link {
  font-weight: 600;
  position: relative;
  padding-bottom: 4px;
}
.navbar .nav-link.active, 
.navbar .nav-link:hover { 
  color: var(--primary);
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%; height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { width: 100%; }

/* Navbar Logo Hover */
.navbar-brand img { transition: transform 0.3s ease; }
.navbar-brand img:hover { transform: rotate(-8deg) scale(1.1); }

/* ===== Typing Effect ===== */
.typing-text {
  overflow: hidden;
  white-space: nowrap;
  animation: typing 5s steps(30, end), blink .50s step-end infinite;
}
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}
@keyframes blink {
  from, to { border-color: transparent }
  50% { border-color: var(--primary); }
}

/* ===== Hero ===== */
.hero {
  min-height: 70vh;
  padding: 64px 0;
}
.hero-illustration {
  background: radial-gradient(ellipse at top left, rgba(255,102,0,.15), transparent 55%),
              radial-gradient(ellipse at bottom right, rgba(255,102,0,.15), transparent 55%),
              repeating-linear-gradient(135deg, #fff, #fff 12px, #f9f9f9 12px, #f9f9f9 24px);
  min-height: 320px;
}
.subhero {
  padding: 72px 0 36px;
  background: linear-gradient(180deg, rgba(255,102,0,.08), rgba(255,255,255,1));
}

.superhero-container{
    text-align: -webkit-center;
    padding: 15px 0;   
    align-content: center;
}

.superhero-container h1 {
  font-size: 20px;   /* mobile */
  font-weight: bold;
}

.superhero-container p {
  font-size: 14px;   /* mobile */
}
/* Tablet */
@media (min-width: 768px) {
  .superhero-container {
    padding: 80px 0;
  }
  .superhero-container h1 {
    font-size: 32px;
  }
  .superhero-container p {
    font-size: 18px;
  }
}

/* Desktop */
@media (min-width: 1200px) {
  .superhero-container {
    padding: 120px 0;
  }
  .superhero-container h1 {
    font-size: 42px;
  }
  .superhero-container p {
    font-size: 20px;
  }
}
.particles-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

/* ===== Feature / Cards ===== */
/* Feature Card Base */
.feature-card {
  position: relative;
  overflow: hidden; /* contain blobs and icon */
  border-radius: 1rem;
  cursor: pointer;
  background: #ffffff57;
  border: 1px solid #eee;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  padding-top: 40px; /* space for icon scaling */
}

/* Card lift + shadow on hover */
.feature-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 30px rgba(255, 140, 0, 0.2);
}

/* Floating Blobs */
.feature-card::before,
.feature-card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  background: rgba(255,102,0,0.2);
  transition: all 0.6s ease;
  z-index: 0;
}

.feature-card::after {
  background: rgba(255,140,0,0.2);
  top: auto;
  bottom: -60px;
  left: auto;
  right: -60px;
}

.feature-card::before {
  top: -60px;
  left: -60px;
}

/* Blobs grow & move on hover */
.feature-card:hover::before {
  transform: scale(2.2);
  top: -40px;
  left: -40px;
}

.feature-card:hover::after {
  transform: scale(2.2);
  bottom: -40px;
  right: -40px;
}

/* Card Content Above Blobs */
.feature-card > * {
  position: relative;
  z-index: 1;
}

/* Icon Bounce + Wiggle */
.feature-card .fs-1 {
  position: relative;
  z-index: 1;
  transition: transform 0.5s ease;
  transform-origin: center center; /* keeps icon inside card */
}

.feature-card:hover .fs-1 {
  font-size: 20px;
  transition: 0.6s;
}


/* Optional: ripple/blinking blobs inside card */
.feature-card::after {
  animation: ripple 3s infinite ease-in-out;
}

@keyframes ripple {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Link Color Animation */
.feature-card a.link-primary {
  transition: color 0.3s ease;
}

.feature-card:hover a.link-primary {
  color: #ff7b00;
}

.card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  background-color: #fff3f04f;
}
.card img { transition: transform 0.4s ease; }
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}
.card:hover img { transform: scale(1.1); }

/* Mini + Other Cards */
.project-card,
.mini-card,
.service-card {
  background:#fff3f04f; border:1px solid #eee;
}
.project-card { border-style: dashed; }
.mini-card { transition: all 0.3s ease; }
.mini-card:hover {
  background: #ff7b00;
  color:black;
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(255, 140, 0, 0.3);
}

/* ===== Buttons ===== */
.btn-primary {
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary-700);
  --bs-btn-hover-border-color: var(--primary-700);
  --bs-btn-focus-shadow-rgb: 255,102,0;
}
.btn-outline-primary {
  --bs-btn-color: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary);
  --bs-btn-hover-border-color: var(--primary);
}

/* Buttons Hover Effects */
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 140, 0, 0.4);
}
.btn-outline-primary:hover {
  background: #ff7b00;
  color: #fff !important;
  border-color: #ff7b00;
  transform: translateY(-3px);
}

/* ===== Miscellaneous ===== */
.brand-mark {
  width: 14px; height: 24px; display:inline-block;
  background: linear-gradient(180deg, var(--primary), #ffa366);
  border-radius: 4px;
}
.icon-lg { font-size: 1.75rem; color: var(--primary); }

/* Links */
a.link-primary { color: var(--primary); text-decoration: none; }
a.link-primary:hover { text-decoration: underline; }

/* Footer */
footer a { color: inherit; transition: color 0.3s ease; }
footer a:hover { color: var(--primary); }
footer ul li i { margin-right: .5rem; color: var(--primary); }

/* Utilities */
.xsmall { font-size: .825rem; }

/* Responsive */
@media (max-width: 575.98px){
  .display-5{ font-size: 2rem; }
  .hero{ padding:48px 0; }
}

/* Carousel Fade */
.blend-carousel img {
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 10%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 10%, rgba(0,0,0,0) 100%);
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-size: cover;
  -webkit-mask-size: cover;
}

.interactive-img {
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
  transform-style: preserve-3d;
 
}

/* Hover effect */
.interactive-img:hover {
  transform: perspective(1000px) rotateY(8deg) rotateX(4deg) scale(1.05); /* 3D tilt + slight zoom */
  box-shadow: 0 20px 40px rgba(255,102,0,0.4); /* glow/pulse effect */
  filter: blur(0.5px); /* subtle blur shift */
}

/* Optional: smooth glow animation */
.interactive-img:hover {
  animation: pulseGlow 1.5s infinite alternate;
}

@keyframes pulseGlow {
  0%   { box-shadow: 0 10px 30px rgba(255,102,0,0.3); }
  100% { box-shadow: 0 20px 50px rgba(255,102,0,0.5); }
}

.gooey-btn {
  position: relative;
  font-size: 1.2rem;
  color: #fff;
  background: #ff6600;
  cursor: pointer;
  overflow: hidden;
  filter: url(#goo);
}

.blob {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #ff8c00;
  border-radius: 50%;
  top: -5px;
  left: -10px;
  transform: translate(0,0);
  transition: all 0.5s ease;
}

.gooey-btn:hover .blob:nth-child(1) {
  transform: translate(60px, 10px) scale(1.2);
}
.gooey-btn:hover .blob:nth-child(2) {
  transform: translate(100px, -10px) scale(0.8);
}
.animated-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

/* 1. Slight continuous float for the logo */
.animated-brand img {
  transition: transform 0.6s ease;
  animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(-2deg); }
}

/* 2. Hover effect: scale + glow */
.animated-brand:hover img {
  transform: scale(1.1) rotate(-3deg);
  filter: drop-shadow(0 0 10px #ff66002e);
  
}

/* 3. Text color wave effect on hover */
.animated-brand .brand-text {
  position: relative;
  display: inline-block;
  transition: color 0.4s ease;
}

.animated-brand:hover .brand-text {
  color: #ff6600;
}

/* 4. Shimmer / light sweep over text */
.animated-brand .brand-text::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-25deg);
  transition: all 0.5s ease;
}

.animated-brand:hover .brand-text::after {
  animation: shine 1s forwards;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}
