/* ===========================
   ANIMATIONS CSS
=========================== */

/* ===========================
   REVEAL ON SCROLL
=========================== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.revealed {
  opacity: 1 !important;
  transform: translate(0) !important;
}

/* ===========================
   DELAY CLASSES
=========================== */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===========================
   FLOATING BADGES ANIMATION
=========================== */
.badge-investor {
  animation: floatBadge1 4s ease-in-out infinite;
}
.badge-consultant {
  animation: floatBadge2 5s ease-in-out infinite 1s;
}
@keyframes floatBadge1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes floatBadge2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===========================
   PHOTO DOTS PULSE
=========================== */
.photo-dot {
  animation: dotPulse 2.5s ease-in-out infinite;
}
.dot-2 {
  animation-delay: 1.2s;
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.5); opacity: 0.3; }
}

/* ===========================
   GLOW PULSE
=========================== */
.hero-glow {
  animation: glowPulse 6s ease-in-out infinite alternate;
}
.glow-2 { animation-delay: 3s; }
@keyframes glowPulse {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}

/* ===========================
   SCROLL LINE
=========================== */
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  30% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  70% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ===========================
   NAV LINK UNDERLINE
=========================== */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  width: 0; height: 2px;
  background: var(--green-primary);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 40%; }

/* ===========================
   VENTURE CARD SHIMMER
=========================== */
.venture-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.02), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.venture-card:hover::after { left: 150%; }

/* ===========================
   SERVICE ITEM GLOW
=========================== */
.service-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(circle at 50% 0%, rgba(0,200,83,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-item:hover::before { opacity: 1; }

/* ===========================
   STAT NUMBER COUNT ANIMATION
=========================== */
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   PAGE TRANSITIONS
=========================== */
body {
  animation: pageIn 0.5s ease forwards;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   BADGE BLINK DOT
=========================== */
@keyframes blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--green-primary); }
  50% { opacity: 0.3; box-shadow: none; }
}

/* ===========================
   FORM FOCUS GLOW
=========================== */
.form-group input:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(0,200,83,0.12);
}

/* ===========================
   LOGO HOVER
=========================== */
.logo:hover .logo-dy {
  transform: rotate(-8deg) scale(1.05);
  transition: transform 0.3s ease;
}
.logo-dy { transition: transform 0.3s ease; }

/* ===========================
   TESTI CARD ENTRANCE
=========================== */
.testi-card {
  animation: none;
}

/* ===========================
   PROCESS STEP NUMBER GLOW
=========================== */
.process-step:hover .step-num {
  background: var(--green-glow);
  box-shadow: 0 0 20px rgba(0,200,83,0.25);
  transition: all 0.3s ease;
}

/* ===========================
   CONTACT CARD LIFT
=========================== */
.contact-info-card {
  transition: all 0.35s ease;
}
.contact-info-card:hover {
  transform: translateX(6px);
}

/* ===========================
   FOOTER LINK UNDERLINE
=========================== */
.footer-col ul li a {
  position: relative;
}
.footer-col ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--green-primary);
  transition: width 0.3s ease;
}
.footer-col ul li a:hover::after { width: 100%; }

/* ===========================
   HERO GRID FADE MASK
=========================== */
.hero-grid {
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, transparent 70%);
}

/* ===========================
   VENTURE DETAIL VISUAL ENTRANCE
=========================== */
.venture-detail-visual {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0,200,83,0.02) 100%);
}



/* HAMBURGER STYLING */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001; /* Nav links ke upar dikhne ke liye */
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: white; /* Aapka text color white hai */
  transition: all 0.3s ease;
}

/* HAMBURGER TO 'X' ANIMATION */
.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* MOBILE NAV LINKS */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%; /* Default hidden position */
    width: 70%;
    height: 100vh;
    background-color: #001019; /* Aapka background color */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.5s ease-in-out;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
  }

  .nav-links.open {
    right: 0; /* Slide in effect */
  }

  .nav-links li {
    margin: 20px 0;
  }
}


.about-photo-frame {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1.1; /* Business portrait look */
  border-radius: 20px;
  z-index: 5;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Image ko stretch nahi hone dega */
  border-radius: 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Accent Ring adjustment */
.photo-accent-ring {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--green-primary);
  border-radius: 20px;
  z-index: 1;
}

/* Stacking order fix karne ke liye cards ko update karein */
.about-card-wrap {
  position: relative;
  z-index: 10; /* Photo se zyada value */
}

.floating-badge {
  position: absolute;
  z-index: 15; /* Sabse upar dikhne ke liye */
  /* Baaki styling wahi rehne dein jo pehle se hai */
}

/* Photo frame ka z-index kam rakhein */
.about-photo-frame {
  position: relative;
  z-index: 5; 
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  position: relative;
  z-index: 6; /* Image ko frame ke andar rakhein lekin text ke niche */
}

#formSuccess {
  display: none;
}

#formSuccess {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

#formSuccess.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}