/*
Theme Name: Vinayak Marketing Solutions
Theme URI: 
Author: Vinayak Marketing
Author URI: 
Description: Custom WordPress Theme for Vinayak Marketing Solutions.
Version: 1.0.0
Text Domain: vinayak-marketing
*/
/* Overriding Tailwind Blue with Brand Orange (#D15317) */
:root {
  --brand-orange: 209, 83, 23;
  --brand-orange-light: 249, 115, 22;
  --brand-orange-dark: 154, 52, 18;
  --brand-secondary: 30, 41, 59;
}

/* Backgrounds */
.bg-blue-100 { background-color: rgba(255, 237, 213, var(--tw-bg-opacity, 1)) !important; }
.bg-blue-200 { background-color: rgba(253, 186, 116, var(--tw-bg-opacity, 1)) !important; }
.bg-blue-300 { background-color: rgba(253, 164, 175, var(--tw-bg-opacity, 1)) !important; }
.bg-blue-400 { background-color: rgba(251, 146, 60, var(--tw-bg-opacity, 1)) !important; }
.bg-blue-500 { background-color: rgba(var(--brand-orange), var(--tw-bg-opacity, 1)) !important; }
.bg-blue-600 { background-color: rgba(var(--brand-orange), var(--tw-bg-opacity, 1)) !important; }
.bg-blue-700 { background-color: rgba(var(--brand-orange-dark), var(--tw-bg-opacity, 1)) !important; }
.bg-blue-800 { background-color: rgba(var(--brand-orange-dark), var(--tw-bg-opacity, 1)) !important; }

/* Text Colors */
.text-blue-100 { color: rgba(255, 237, 213, var(--tw-text-opacity, 1)) !important; }
.text-blue-200 { color: rgba(253, 186, 116, var(--tw-text-opacity, 1)) !important; }
.text-blue-300 { color: rgba(253, 164, 175, var(--tw-text-opacity, 1)) !important; }
.text-blue-400 { color: rgba(251, 146, 60, var(--tw-text-opacity, 1)) !important; }
.text-blue-500 { color: rgba(var(--brand-orange), var(--tw-text-opacity, 1)) !important; }
.text-blue-600 { color: rgba(var(--brand-orange), var(--tw-text-opacity, 1)) !important; }
.text-blue-700 { color: rgba(var(--brand-orange-dark), var(--tw-text-opacity, 1)) !important; }
.text-blue-800 { color: rgba(var(--brand-secondary), var(--tw-text-opacity, 1)) !important; }

/* Hover Backgrounds */
.hover\:bg-blue-400:hover { background-color: rgba(251, 146, 60, var(--tw-bg-opacity, 1)) !important; }
.hover\:bg-blue-500:hover { background-color: rgba(var(--brand-orange), var(--tw-bg-opacity, 1)) !important; }
.hover\:bg-blue-600:hover { background-color: rgba(var(--brand-orange-dark), var(--tw-bg-opacity, 1)) !important; }
.hover\:bg-blue-700:hover { background-color: rgba(var(--brand-orange-dark), var(--tw-bg-opacity, 1)) !important; }

/* Hover Text Colors */
.hover\:text-blue-500:hover { color: rgba(var(--brand-orange), var(--tw-text-opacity, 1)) !important; }
.hover\:text-blue-600:hover { color: rgba(var(--brand-orange), var(--tw-text-opacity, 1)) !important; }
.hover\:text-blue-700:hover { color: rgba(var(--brand-orange-dark), var(--tw-text-opacity, 1)) !important; }

/* Borders */
.border-blue-200 { border-color: rgba(253, 186, 116, var(--tw-border-opacity, 1)) !important; }
.border-blue-300 { border-color: rgba(253, 164, 175, var(--tw-border-opacity, 1)) !important; }
.border-blue-400 { border-color: rgba(251, 146, 60, var(--tw-border-opacity, 1)) !important; }
.border-blue-500 { border-color: rgba(var(--brand-orange), var(--tw-border-opacity, 1)) !important; }

/* Hover Borders */
.hover\:border-blue-300:hover { border-color: rgba(251, 146, 60, var(--tw-border-opacity, 1)) !important; }

/* Focus / Rings */
.focus\:ring-blue-500:focus { --tw-ring-color: rgba(var(--brand-orange), 0.5) !important; }

/* Specific Overrides for Buttons since Tailwind might use specific classes */
.btn-primary {
    background-color: rgba(var(--brand-orange), 1) !important;
    color: #fff !important;
}
.btn-primary:hover {
    background-color: rgba(var(--brand-orange-dark), 1) !important;
}
.btn-accent {
    background-color: #fff !important;
    color: rgba(var(--brand-orange), 1) !important;
    border-color: rgba(var(--brand-orange), 1) !important;
}
.btn-accent:hover {
    background-color: rgba(var(--brand-orange), 1) !important;
    color: #fff !important;
}

/* ============================================================
   FULL-SCREEN HERO BANNER SLIDER (VINAYAK MARKETING)
   ============================================================ */
:root {
  --vm-header-offset: 89px;
}

.vm-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #0F172A;
  height: calc(100vh - var(--vm-header-offset, 89px));
  height: calc(100dvh - var(--vm-header-offset, 89px));
  min-height: calc(100vh - var(--vm-header-offset, 89px));
  min-height: calc(100dvh - var(--vm-header-offset, 89px));
  max-height: none;
}

.vm-hero__slider {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.vm-hero__slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.vm-hero__picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.vm-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Full banner clickable overlay */
.vm-hero__banner-link {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  display: block;
  text-decoration: none;
  cursor: pointer;
}

/* Dark Overlays */
.vm-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transition: background-color 0.3s ease;
}

.vm-hero__overlay--dark {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.72) 0%,
    rgba(15, 23, 42, 0.82) 60%,
    rgba(15, 23, 42, 0.92) 100%
  );
}

.vm-hero__overlay--medium {
  background: rgba(15, 23, 42, 0.55);
}

.vm-hero__overlay--light {
  background: rgba(15, 23, 42, 0.25);
}

.vm-hero__overlay--none,
.vm-hero__slide--pure-banner .vm-hero__overlay {
  display: none !important;
}

/* Content Container */
.vm-hero__content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 3rem 1.5rem;
  color: #ffffff;
}

.vm-hero__content-inner {
  max-width: 880px;
}

.vm-hero__content--center .vm-hero__content-inner {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.vm-hero__content--center .vm-hero__eyebrow,
.vm-hero__content--center .vm-hero__cta {
  justify-content: center;
}

.vm-hero__content--left .vm-hero__content-inner {
  text-align: left;
  margin-right: auto;
}

.vm-hero__content--left .vm-hero__eyebrow,
.vm-hero__content--left .vm-hero__cta {
  justify-content: flex-start;
}

.vm-hero__content--right .vm-hero__content-inner {
  text-align: right;
  margin-left: auto;
}

.vm-hero__content--right .vm-hero__eyebrow,
.vm-hero__content--right .vm-hero__cta {
  justify-content: flex-end;
}

/* Eyebrow badge */
.vm-hero__eyebrow {
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
}

.vm-hero__eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 18px;
  background: rgba(209, 83, 23, 0.25);
  border: 1px solid rgba(249, 115, 22, 0.45);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  color: #FED7AA;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Title & Subtitle */
.vm-hero__title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.vm-hero__title span,
.vm-hero__title .text-blue-500 {
  color: #F97316 !important;
}

.vm-hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin-bottom: 2rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* CTA Buttons */
.vm-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.vm-hero__btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background-color: #D15317;
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(209, 83, 23, 0.4);
  transition: all 0.3s ease;
}

.vm-hero__btn-primary:hover {
  background-color: #9A3412;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(209, 83, 23, 0.5);
}

.vm-hero__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.vm-hero__btn-secondary:hover {
  background-color: #ffffff;
  color: #0F172A !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Staggered text animations */
.vm-hero__slide .vm-hero__eyebrow,
.vm-hero__slide .vm-hero__title,
.vm-hero__slide .vm-hero__subtitle,
.vm-hero__slide .vm-hero__cta {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.vm-hero__slide.is-active .vm-hero__eyebrow {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.12s;
}

.vm-hero__slide.is-active .vm-hero__title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.22s;
}

.vm-hero__slide.is-active .vm-hero__subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.32s;
}

.vm-hero__slide.is-active .vm-hero__cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.42s;
}

/* Prev / Next Arrows */
.vm-hero__prev,
.vm-hero__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  color: #ffffff;
  cursor: pointer;
  font-size: 1.25rem;
  transition: all 0.25s ease;
}

.vm-hero__prev { left: 1.5rem; }
.vm-hero__next { right: 1.5rem; }

.vm-hero__prev:hover,
.vm-hero__next:hover {
  background-color: #D15317;
  border-color: #D15317;
  box-shadow: 0 4px 15px rgba(209, 83, 23, 0.5);
}

.vm-hero__prev:hover { transform: translateY(-50%) translateX(-3px); }
.vm-hero__next:hover { transform: translateY(-50%) translateX(3px); }

/* Swiper Hero Navigation & Pagination */
.vm-hero .swiper-button-prev::after,
.vm-hero .swiper-button-next::after {
  display: none !important;
}

.vm-hero .swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Dots Pagination - Perfectly centered at bottom */
.vm-hero .vm-hero__dots,
.vm-hero .swiper-pagination,
.vm-hero__dots {
  position: absolute !important;
  bottom: 2.5rem !important;
  left: 50% !important;
  right: auto !important;
  top: auto !important;
  transform: translateX(-50%) !important;
  z-index: 25 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 8px 16px !important;
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 9999px !important;
  width: auto !important;
  max-width: max-content !important;
  margin: 0 auto !important;
  text-align: center !important;
  pointer-events: auto !important;
}

.vm-hero .swiper-pagination-bullet {
  display: inline-block !important;
  width: 10px !important;
  height: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  background-color: rgba(255, 255, 255, 0.5) !important;
  opacity: 1 !important;
  border-radius: 9999px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.vm-hero .swiper-pagination-bullet:hover {
  background-color: rgba(255, 255, 255, 0.9) !important;
}

.vm-hero .swiper-pagination-bullet-active {
  background-color: #F97316 !important;
  width: 28px !important;
  border-radius: 9999px !important;
}

/* Swiper specific height */
.vm-hero-swiper {
  width: 100%;
  height: 100%;
}

.vm-hero-swiper .swiper-wrapper {
  height: 100%;
  width: 100%;
}

.vm-hero-swiper .swiper-slide {
  height: 100%;
  width: 100%;
  outline: none !important;
}

@media (max-width: 768px) {
  .vm-hero {
    height: calc(100vh - var(--vm-header-offset, 89px));
    height: calc(100dvh - var(--vm-header-offset, 89px));
    min-height: calc(100vh - var(--vm-header-offset, 89px));
    min-height: calc(100dvh - var(--vm-header-offset, 89px));
  }
  .vm-hero__prev,
  .vm-hero__next {
    display: none;
  }
  .vm-hero .vm-hero__dots,
  .vm-hero .swiper-pagination,
  .vm-hero__dots {
    bottom: 1.25rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}

/* ============================================================
   RESPONSIVE IMAGE & ICON FIXTURE (OBJECT-FIT ADAPTATION)
   Auto-adjust any uploaded image size smoothly into its container
   ============================================================ */

/* Global responsive baseline */
img {
  max-width: 100%;
  height: auto;
}

/* 1. Card Slider & Service Card Images (Fixed height + Object-Fit Cover) */
.card-slider img,
.card-slider > img,
.card-slider .card-slider-img,
.carausel-2-columns .card-slider img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center;
  border-radius: 0.75rem;
  display: block;
}

/* 2. Blog, Post & Article Featured Images */
.post-thumbnail img,
.wp-post-image,
.attachment-post-thumbnail,
.blog-card img,
.article-thumb img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  border-radius: 0.75rem;
}

/* Single Post Hero / Background Images */
.single-post-hero-img,
.page-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 3. Section Feature Illustrations & Content Images */
.jump,
.why-choose-us-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  object-position: center;
  border-radius: 0.75rem;
}

/* 4. Avatars (Author, Testimonials, Comments) */
img.avatar,
.avatar img,
img.rounded-full,
img[class*="rounded-full"] {
  object-fit: cover;
  object-position: center;
}

/* 5. Icons, Logos & SVGs (Always Contain without clipping or distortion) */
.icon img,
img.icon,
img[src*="/icons/"],
img[src*="/logos/"],
img[src*="/illustrations/"],
img[src*=".svg"],
.object-contain,
img[class*="object-contain"] {
  object-fit: contain !important;
  object-position: center;
}

/* 6. General Utility Classes for Any Template */
.img-cover,
img.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center !important;
}

.img-contain,
img.img-contain {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center !important;
}

.img-card,
img.img-card {
  width: 100%;
  height: 230px;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0.75rem;
}

.img-avatar,
img.img-avatar {
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 9999px !important;
}

/* 7. CMS Content Images inside WYSIWYG / Editor */
.entry-content img,
.page-content img,
.custom-wysiwyg img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* ============================================================
   PAGE PRELOADER (PERFECTLY CENTERED)
   ============================================================ */
#preloader-active {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
}

.preloader {
  background-color: #ffffff;
  width: 100vw;
  height: 100vh;
  position: fixed;
  inset: 0;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
  padding: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.preloader .preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: auto;
}

.preloader .logo {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  transform: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
}

.preloader .logo img {
  width: 64px;
  height: 64px;
  max-width: 64px;
  max-height: 64px;
  margin: 0 auto 12px auto;
  object-fit: contain;
  display: block;
}

.preloader .logo h1 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  text-align: center;
  margin: 0 auto;
  display: block;
}

.preloader .jump {
  animation: preloaderJump 1.2s ease-in-out infinite alternate;
}

@keyframes preloaderJump {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}



