/* DAKIYA COD — Custom Styles (brand: orange #ff6a00 + deep purple #21143b) */

:root {
  --brand: #fd5e0c;
  --brand-dark: #e44e00;
  --brand-purple: #21143b;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

/* Hero gradient overlay — deeper for better text contrast over images */
.hero-gradient {
  background: linear-gradient(
    135deg,
    rgba(22, 12, 40, 0.92) 0%,
    rgba(49, 32, 76, 0.85) 40%,
    rgba(138, 47, 2, 0.75) 100%
  );
}

.text-gradient {
  background: linear-gradient(135deg, #ff8533, #fd5e0c 50%, #21143b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Smooth fade-up animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.35s; }

/* Card hover */
.card-hover {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -12px rgba(253, 94, 12, 0.15);
}

/* Subtle dot pattern background */
.bg-dot-pattern {
  background-image: radial-gradient(circle, rgba(100, 116, 139, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
}
.dark .bg-dot-pattern {
  background-image: radial-gradient(circle, rgba(148, 163, 184, 0.10) 1px, transparent 1px);
}

/* Prose for blog content */
.prose-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: rgb(15 23 42);
}
.dark .prose-content h2 { color: rgb(248 250 252); }
.prose-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.prose-content p { margin-bottom: 1rem; line-height: 1.75; color: rgb(51 65 85); }
.dark .prose-content p { color: rgb(203 213 225); }
.prose-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose-content li { margin-bottom: 0.5rem; line-height: 1.75; }
.prose-content strong { font-weight: 600; color: rgb(15 23 42); }
.dark .prose-content strong { color: rgb(248 250 252); }
.prose-content a { color: rgb(253 94 12); text-decoration: underline; }
.prose-content a:hover { color: rgb(228 78 0); }

/* Subtle scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Marquee logos */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-track { animation: marquee 25s linear infinite; }

/* Form input focus ring polish */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1.5px solid rgb(226 232 240);
  background-color: white;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.form-input:focus {
  outline: none;
  border-color: rgb(253 94 12);
  box-shadow: 0 0 0 4px rgba(253, 94, 12, 0.1);
  background-color: rgb(255 244 236);
}
.dark .form-input {
  background-color: rgb(15 23 42);
  border-color: rgb(51 65 85);
  color: rgb(241 245 249);
}
.dark .form-input:focus {
  border-color: rgb(255 133 51);
  box-shadow: 0 0 0 4px rgba(255, 133, 51, 0.1);
  background-color: rgb(28 21 48);
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgb(203 213 225); border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: rgb(148 163 184); }
.dark ::-webkit-scrollbar-thumb { background: rgb(51 65 85); }
.dark ::-webkit-scrollbar-thumb:hover { background: rgb(71 85 105); }

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

/* ============================================================
   HERO AUTO SLIDER — REDESIGNED
   ============================================================ */
.hero-slider {
  position: relative;
  isolation: isolate;
  background: #160c28;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* Slide background with Ken-Burns */
.hero-slide .hero-slide-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-slide .hero-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0s;
}
.hero-slide.is-active .hero-slide-bg img {
  animation: kenburns 8s ease-out forwards;
}

@keyframes kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.12); }
}

/* Slider arrows — glassmorphism style */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.hero-arrow:hover {
  background: rgba(253, 94, 12, 0.6);
  border-color: rgba(253, 94, 12, 0.8);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(253, 94, 12, 0.3);
}
.hero-arrow-prev { left: 1.25rem; }
.hero-arrow-next { right: 1.25rem; }
@media (max-width: 640px) { .hero-arrow { display: none; } }

/* Slider dots — modern pill style */
.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.hero-dot.is-active {
  width: 1.75rem;
  background: linear-gradient(90deg, #ff8533, #fd5e0c);
  box-shadow: 0 0 10px rgba(253, 94, 12, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  .hero-slide.is-active .hero-slide-bg img { animation: none; }
}

/* ============================================================
   UPGRADED MEGA / DROPDOWN MENU
   ============================================================ */
.has-mega { position: relative; }
.mega-panel {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: max-content;
  max-width: 44rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 50;
}
.has-mega:hover > .mega-panel,
.has-mega:focus-within > .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-caret { transition: transform 0.3s ease; }
.has-mega:hover .mega-caret,
.has-mega:focus-within .mega-caret { transform: rotate(180deg); }

/* Mobile submenu toggle */
.mobile-sub { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.mobile-sub.open { max-height: 40rem; }

/* Header scroll effect */
#main-header {
  transition: box-shadow 0.3s ease;
}
