/*
Theme Name: Prithvi Ventures
Theme URI: https://aayatinfotech.com/
Author: Aayat Infotech
Description: A state-of-the-art, premium WordPress theme developed for Prithvi Ventures. Featuring vibrant multi-color accents inspired by the brand logo, glassmorphism cards, animated counters, and dynamic layouts for logistics, infrastructure, and distribution.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: prithvi-ventures
*/

:root {
  --pv-green: #10b981;
  --pv-green-dark: #059669;
  --pv-yellow: #f59e0b;
  --pv-yellow-dark: #d97706;
  --pv-red: #e63926;
  --pv-purple: #8b5cf6;
  --pv-blue: #3b82f6;
  --pv-blue-dark: #2563eb;
  --pv-bg-dark: #0f0f0f;
  --pv-bg-card: rgba(24, 24, 24, 0.9);
  --pv-border: rgba(255, 255, 255, 0.1);
  --pv-border-hover: rgba(255, 255, 255, 0.25);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--pv-bg-dark);
  color: #f3f4f6;
  font-family: 'Manrope', sans-serif;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
}

/* Custom Gradient Typography */
.gradient-text-primary {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-emerald {
  background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-swirl {
  background: linear-gradient(90deg, #10b981, #3b82f6, #8b5cf6, #ef4444, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Glassmorphism Classes */
.glass-header {
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--pv-border);
}

.glass-card {
  background: var(--pv-bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--pv-border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: var(--pv-border-hover);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 25px -5px rgba(59, 130, 246, 0.15);
}

.glass-card-green:hover {
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 25px -5px rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
}

.glass-card-yellow:hover {
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 25px -5px rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.4);
}

.glass-card-red:hover {
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 25px -5px rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
}

.glass-card-purple:hover {
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 25px -5px rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
}

/* Hero Background Glows */
.hero-glow-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  top: -100px;
  left: 10%;
  z-index: 0;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  top: 20%;
  right: -5%;
  z-index: 0;
  pointer-events: none;
}

.hero-glow-3 {
  position: absolute;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
  bottom: -50px;
  left: 30%;
  z-index: 0;
  pointer-events: none;
}

/* Timeline Connectors */
.timeline-line {
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #10b981, #3b82f6, #8b5cf6, #f59e0b);
  z-index: 0;
}

/* Button Animations */
.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(37, 99, 235, 0.6);
}

.grecaptcha-badge {
    display: none !important;
}

/* Style UI Helpers */
.btn-pill {
  background: linear-gradient(135deg, #e63926 0%, #dc2626 100%);
  color: #ffffff;
  border-radius: 9999px;
  padding: 12px 28px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -5px rgba(230, 57, 38, 0.4);
  text-decoration: none;
}

.btn-pill:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 15px 30px -5px rgba(230, 57, 38, 0.65);
  color: #ffffff;
}

.stat-card-white {
  background: #ffffff;
  color: #111827;
  border-radius: 12px;
  padding: 24px 22px;
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card-white:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

.stat-card-watermark {
  position: absolute;
  right: 16px;
  bottom: 16px;
  opacity: 0.1;
  color: #ef4444;
  pointer-events: none;
}

.bg-cream {
  background-color: #fbf9f5;
  color: #111111;
}

/* ==========================================================================
   WordPress Navigation Dropdown Styling (.sub-menu & .menu-item-has-children)
   ========================================================================== */
/* Uniform full header height & vertical alignment ONLY for desktop screens (1024px+) */
@media (min-width: 1024px) {

  header>div>div>nav,
  header>div>div>nav>ul,
  header>div>div>nav>ul>li {
    position: relative;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
  }

  header>div>div>nav>ul>li>a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 100% !important;
  }
}

@media (max-width: 1023px) {
  header>div>div>nav {
    display: none !important;
  }
}

/* Crisp CSS Chevron Down Icon (Larger & clearer) */
.menu-item-has-children>a::after,
.page_item_has_children>a::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  margin-left: 5px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.85;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-item-has-children:hover>a::after,
.page_item_has_children:hover>a::after {
  transform: rotate(-135deg);
  margin-top: 2px;
  opacity: 1;
}

ul.sub-menu,
ul.children {
  position: absolute !important;
  top: 100% !important;
  /* Exactly 100% at bottom border line of header */
  left: 0 !important;
  min-width: 210px !important;
  background: rgba(18, 18, 18, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-top: 2px solid #e63926 !important;
  border-radius: 0 !important;
  padding: 6px 0 !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.85) !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 99999 !important;
  list-style: none !important;
  margin: 0 !important;
}

/* Transparent hover bridge to prevent menu closing when moving cursor down */
ul.sub-menu::before,
ul.children::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}

.menu-item-has-children:hover>ul.sub-menu,
.page_item_has_children:hover>ul.children,
ul.sub-menu:hover,
ul.children:hover {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

ul.sub-menu li,
ul.children li {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

ul.sub-menu li a,
ul.children li a {
  display: flex !important;
  align-items: center !important;
  height: auto !important;
  padding: 9px 16px !important;
  color: #d1d5db !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  border: none !important;
  border-left: 3px solid transparent !important;
}

ul.sub-menu li a:hover,
ul.children li a:hover {
  background: rgba(230, 57, 38, 0.15) !important;
  color: #ffffff !important;
  padding-left: 20px !important;
  border-left-color: #e63926 !important;
}

/* ==========================================================================
   Mobile Right-Hand Slide-Over Drawer (Pure CSS inside style.css)
   ========================================================================== */
.mobile-menu-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 999998 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.mobile-menu-backdrop.active {
  opacity: 1 !important;
  visibility: visible !important;
}

.mobile-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 320px !important;
  max-width: 85vw !important;
  background-color: #0c0c0c !important;
  border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
  z-index: 999999 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-shadow: none !important;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
}

.mobile-drawer.active {
  transform: translateX(0) !important;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.9) !important;
}

.mobile-drawer-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 20px 24px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.mobile-drawer-header img {
  height: 40px !important;
  width: auto !important;
  object-fit: contain !important;
}

.mobile-drawer-close {
  background: none !important;
  border: none !important;
  color: #9ca3af !important;
  font-size: 1.5rem !important;
  padding: 4px !important;
  cursor: pointer !important;
  transition: color 0.2s ease !important;
}

.mobile-drawer-close:hover {
  color: #ffffff !important;
}

.mobile-drawer-nav {
  padding: 24px !important;
  overflow-y: auto !important;
  flex-grow: 1 !important;
}

.mobile-nav-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.mobile-nav-list>li {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 100% !important;
  margin: 0 !important;
}

.mobile-nav-list>li>a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  color: #e5e7eb !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  padding: 6px 0 !important;
}

.mobile-nav-list>li>a:hover {
  color: #e63926 !important;
}

/* Larger mobile chevron down arrow & rotate on open */
.mobile-drawer .menu-item-has-children>a::after,
.mobile-drawer .page_item_has_children>a::after {
  content: '';
  display: inline-block;
  width: 9px !important;
  height: 9px !important;
  margin-top: -3px !important;
  margin-left: 6px !important;
  border-right: 2.5px solid currentColor !important;
  border-bottom: 2.5px solid currentColor !important;
  transform: rotate(45deg);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.mobile-drawer .menu-item-has-children>a.open::after,
.mobile-drawer .page_item_has_children>a.open::after {
  transform: rotate(-135deg) !important;
  margin-top: 3px !important;
}

.mobile-drawer ul.sub-menu,
.mobile-drawer ul.children {
  display: none !important;
  position: static !important;
  width: 100% !important;
  min-width: 100% !important;
  box-shadow: none !important;
  border: none !important;
  border-top: none !important;
  border-left: 2px solid #e63926 !important;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  padding: 4px 0 4px 14px !important;
  margin: 8px 0 4px 6px !important;
  list-style: none !important;
}

.mobile-drawer ul.sub-menu.open,
.mobile-drawer ul.children.open {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.mobile-drawer ul.sub-menu li,
.mobile-drawer ul.children li {
  display: flex !important;
  width: 100% !important;
  margin: 0 !important;
}

.mobile-drawer ul.sub-menu li a,
.mobile-drawer ul.children li a {
  display: block !important;
  width: 100% !important;
  padding: 4px 0 !important;
  color: #9ca3af !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  border: none !important;
  text-decoration: none !important;
}

.mobile-drawer ul.sub-menu li a:hover,
.mobile-drawer ul.children li a:hover {
  color: #ffffff !important;
  padding-left: 6px !important;
}

.mobile-drawer-footer {
  padding: 24px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(17, 17, 17, 0.5) !important;
}

.mobile-drawer-footer .btn-pill {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  padding: 14px !important;
  text-align: center !important;
  font-weight: 600 !important;
}

/* Solid Premium Charcoal Footer Background */
footer {
  background-color: #0a0a0a !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .timeline-line {
    display: none;
  }
}

/* Custom Page Content Styles */
.pv-page-content-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.pv-page-content {
  color: #d1d5db;
  font-size: 1.125rem;
  line-height: 1.8;
}
.pv-page-content p {
  margin-bottom: 1.5rem;
}
.pv-page-content h1, .pv-page-content h2, .pv-page-content h3, .pv-page-content h4 {
  color: #ffffff;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.pv-page-content h1 { font-size: 2.25rem; }
.pv-page-content h2 { font-size: 1.875rem; }
.pv-page-content h3 { font-size: 1.5rem; }
.pv-page-content a {
  color: #f59e0b;
  text-decoration: none;
  transition: color 0.2s;
}
.pv-page-content a:hover {
  color: #fbbf24;
}
.pv-page-content ul {
  list-style-type: disc;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.pv-page-content ol {
  list-style-type: decimal;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.pv-page-content li {
  margin-bottom: 0.5rem;
}
.pv-page-content img {
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  max-width: 100%;
  height: auto;
}