/* Existing styles */
header {
  transition: transform 0.3s ease;
  position: relative;
  width: 100%;
}

.header-hidden {
  transform: translateY(-100%);
}

:root {
  --accent: #bff747;
  --primary: #000000;
  --charcoal: #2F2F2F;
  --neutral-light: #FFFFFF;
  --smoky-blue: #5A7D9A;
}

* {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: var(--neutral-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  color: var(--neutral-light);
}

body {
  background-color: var(--primary);
  overflow-x: hidden;
}

.menu-overlay {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--primary) 100%);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-item {
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: #bff747;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover {
  color: #bff747 !important;
}

.nav-item:hover::after {
  width: 100%;
}

.nav-item span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.nav-item:hover span {
  transform: translateX(10px);
}

.hamburger span {
  background: var(--accent);
}

.text-outline {
  -webkit-text-stroke: 2px var(--accent);
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-container {
  perspective: 1500px;
}

.menu-open .cube-menu {
  transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
}

.menu-overlay {
  clip-path: circle(0% at 100vw -5vh);
  transition: clip-path 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-open .menu-overlay {
  clip-path: circle(150% at 50% 50%);
}

.nav-item {
  transform: translateZ(50px) rotateY(90deg);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-open .nav-item {
  transform: translateZ(0) rotateY(0deg);
  opacity: 1;
}

.hamburger {
  width: 40px;
  height: 40px;
  position: relative;
  transform-style: preserve-3d;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  transition: all 0.3s ease;
  transform: translateY(-50%);
}

.hamburger span:nth-child(1) {
  transform: translateY(calc(-50% - 8px));
}

.hamburger span:nth-child(3) {
  transform: translateY(calc(-50% + 8px));
}

.menu-open .hamburger {
  transform: rotate(225deg);
}

.menu-open .hamburger span:nth-child(1) {
  transform: translateY(-50%) rotate(45deg);
}

.menu-open .hamburger span:nth-child(2) {
  opacity: 0;
}

.menu-open .hamburger span:nth-child(3) {
  transform: translateY(-50%) rotate(-45deg);
}

.nav-item:hover {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotateY(0deg);
  }
  50% {
    transform: translateY(-15px) rotateY(10deg);
  }
}

.rotating-text {
  height: 1.2em;
  margin: 0 auto;
  width: fit-content;
  position: relative;
  perspective: 1000px;
}

.word {
  animation: wordSwitch 12s infinite;
  white-space: nowrap;
  color: #bff747;
  transform-style: preserve-3d;
}

.word:nth-child(1) {
  animation-delay: 0s;
}

.word:nth-child(2) {
  animation-delay: 4s;
}

.word:nth-child(3) {
  animation-delay: 8s;
}

@keyframes wordSwitch {
  0%, 25% {
    opacity: 0;
    transform: translateX(-50%) scale(0.95) rotateX(-45deg);
    filter: blur(2px);
  }
  5%, 20% {
    opacity: 1;
    transform: translateX(-50%) scale(1.05) rotateX(0deg);
    filter: blur(0);
  }
  25%, 100% {
    opacity: 0;
    transform: translateX(-50%) scale(0.9) rotateX(45deg);
    filter: blur(4px);
  }
}

.animate-spin-slow {
  animation: spin 12s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.cta-btn {
  transition: all 0.3s ease;
  border: 1px solid #bff74740;
}

.cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px #bff74740;
}

.font-montserrat {
  font-family: 'Montserrat', sans-serif;
}

.font-cinzel {
  font-family: 'Cinzel Decorative', cursive;
}

.menu-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  position: relative;
}

.nav-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 4rem;
  position: relative;
  z-index: 2;
  background: rgba(15, 15, 25, 0.5);
  padding-top: 10vh;
}

.contact-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 4rem;
  background: rgba(15, 15, 25, 0.5);
  position: relative;
  z-index: 2;
  border-left: 1px solid rgba(191, 247, 71, 0.1);
  padding-top: 10vh;
}

.geometric-element {
  position: relative;
  z-index: 1;
  opacity: 0.03;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 200px solid transparent;
  border-right: 200px solid transparent;
  border-bottom: 400px solid var(--accent);
  top: -150px;
  right: -100px;
  transform: rotate(45deg);
}

.square {
  width: 250px;
  height: 250px;
  border: 3px solid var(--accent);
  bottom: -100px;
  left: -100px;
  transform: rotate(30deg);
}

.nav-heading {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
  margin-left: 1rem;
}

.nav-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent);
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-left: 4rem;
}

.nav-item {
  font-size: 3.5rem;
  font-weight: 700;
  display: block;
  position: relative;
}

.nav-number {
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--accent);
  opacity: 0.7;
  transition: all 0.4s ease;
}

.nav-item:hover .nav-number {
  opacity: 1;
  left: -60px;
}

.contact-heading {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.contact-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent);
}

.contact-list {
  margin-bottom: 3rem;
}

.contact-item {
  margin-bottom: 1.8rem;
  position: relative;
  padding-left: 40px;
}

.contact-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.contact-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.contact-value {
  font-size: 1.2rem;
  font-weight: 500;
}

.social-heading {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.social-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent);
}

.social-icons {
  display: flex;
  gap: 1.2rem;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid rgba(191, 247, 71, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.social-icon:hover::before {
  transform: translateY(0);
}

.social-icon:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
}

.social-icon:hover i {
  color: #000;
  transform: scale(1.2);
}

.hero-social-bar {
  position: absolute;
  left: 2.5rem;
  top: 60%;
  transform: translateY(-50%);
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.follow-us {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-top: 20px;
}

.hero-social-icons {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}

.hero-social-icons::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 60px;
  background: var(--accent);
}

.hero-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(191, 247, 71, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.hero-social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.hero-social-icon:hover::before {
  transform: translateY(0);
}

.hero-social-icon:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.hero-social-icon:hover i {
  color: #000;
  transform: scale(1.15);
}

/* New styles for hero content */
.hero-description {
  max-width: 700px;
  margin: 2rem auto 0;
  font-size: 1.25rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* ---------- HERO RESPONSIVE ADJUSTMENTS (tablet + mobile) ---------- */
/* These override only hero-related sizing/layout for smaller screens */
@media (max-width: 1024px) {
  .min-h-screen {
    min-height: 70vh;
  }
  /* Slightly reduce headline and rotating text for tablets */
  .min-h-screen h1 {
    font-size: 3rem !important;
    line-height: 1.05;
    margin-bottom: 0.5rem;
  }
  .rotating-text {
    font-size: 2.5rem !important;
    height: 1.1em;
  }
  .hero-description {
    font-size: 1.05rem;
  }
  .cta-btn.inline-block {
    display: inline-block;
    min-width: 220px;
  }
}

@media (max-width: 768px) {
  .min-h-screen {
    min-height: 65vh;
  }
  /* Headline smaller on phones/tablets */
  .min-h-screen h1 {
    font-size: 2.2rem !important;
    line-height: 1.05;
    margin-bottom: 0.5rem;
  }
  /* Rotating words smaller and vertically compact */
  .rotating-text {
    font-size: 2.2rem !important;
    height: 1.05em;
    margin-top: 0.25rem;
  }
  .rotating-text .word {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  .hero-description {
    font-size: 1rem;
    padding: 0 1.25rem;
  }
  /* Make CTA more prominent on smaller screens */
  .cta-btn.inline-block {
    display: block;
    width: 90%;
    max-width: 420px;
    margin: 1rem auto 0;
  }
  /* Hide left social column earlier */
  .hero-social-bar {
    display: none;
  }
  /* Video keep cover but avoid pushing content on very small heights */
  .video-container {
    top: 0;
    left: 0;
    height: 100%;
  }
}

@media (max-width: 480px) {
  .min-h-screen {
    min-height: 60vh;
  }
  .min-h-screen h1 {
    font-size: 1.6rem !important;
    line-height: 1.05;
    margin-bottom: 0.35rem;
  }
  .rotating-text {
    font-size: 1.6rem !important;
    height: 1em;
  }
  .rotating-text .word {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  .hero-description {
    font-size: 0.95rem;
    padding: 0 1rem;
    margin-top: 0.5rem;
  }
  .cta-btn.inline-block {
    display: block;
    width: 100%;
    margin: 0.75rem auto 0;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  /* Slightly reduce spinner overlay so it doesn't overflow */
  .cta-btn .animate-spin-slow {
    transform-origin: center;
  }
  /* Scroll indicator spacing */
  a[href="#about"] {
    bottom: 6px;
  }
}

/* ---------- END HERO RESPONSIVE ADJUSTMENTS ---------- */

@media (max-width: 1024px) {
  .menu-layout {
    grid-template-columns: 1fr;
  }
  .contact-section {
    border-left: none;
    border-top: 1px solid rgba(191, 247, 71, 0.1);
  }
  .nav-item {
    font-size: 3rem;
  }
  .hero-social-bar {
    left: 1.5rem;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-section,
  .contact-section {
    padding: 2.5rem;
  }
  .nav-item {
    font-size: 2.5rem;
  }
  .contact-value {
    font-size: 1.1rem;
  }
  .hero-social-bar {
    display: none;
  }
  .hero-description {
    font-size: 1.1rem;
    padding: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  .nav-section,
  .contact-section {
    padding: 1.5rem;
  }
  .nav-item {
    font-size: 2rem;
  }
  .contact-item {
    padding-left: 30px;
  }
  .social-icons {
    flex-wrap: wrap;
  }
  .hero-description {
    font-size: 1rem;
    padding: 0 1rem;
  }
}

/* NEW: Hero Reveal Animation */
.hero-reveal-container {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-reveal-container.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-reveal-container.revealed h1 {
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-reveal-container.revealed .rotating-text {
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-reveal-container.revealed .hero-description {
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.hero-reveal-container.revealed .cta-btn {
  animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom Animations */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.animate-bounce {
  animation: bounce 2s infinite;
}


/* Animation for continuous scrolling */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

/* Animation for anti-clockwise spinning */
@keyframes spin-anti {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

.animate-spin-anti-slow {
    animation: spin-anti 10s linear infinite;
}

.font-cinzel {
    font-family: 'Cinzel Decorative', cursive;
}

.cta-btn {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.group:hover .absolute {
    transform: translateX(0);
}

@media (min-width: 1024px) {
    .lg\:sticky {
        position: -webkit-sticky;
        position: sticky;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spin {
    animation: spin 12s linear infinite;
}


/* About Sections Starts From Here */
/* Animation for spinning */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spin {
  animation: spin 12s linear infinite;
}

/* CTA Button Styles */
.cta-btn {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.group:hover .absolute {
  transform: translateX(0);
}

/* Responsive Sticky Positioning */
@media (min-width: 1024px) {
  .lg\:sticky {
    position: -webkit-sticky;
    position: sticky;
  }
}
/* About Sections Ends Here */



/* Services Sections Starts From Here */

/* Animation for spinning */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spin {
  animation: spin 12s linear infinite;
}

/* Service Card Styles */
.service-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(191, 247, 71, 0.08);
}

/* Learn More Button Styles */
.learn-more-btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.learn-more-btn:hover {
  letter-spacing: 0.5px;
}

.learn-more-btn:hover i {
  transform: translateX(3px);
}

/* CTA Button Styles */
.cta-btn {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Background Pattern Animation */
@keyframes pattern-move {
  0% { background-position: 0 0; }
  100% { background-position: 24px 24px; }
}

/* Services Sections Ends Here */


/* Expertise Sections Starts From Here */


/* Animation for spinning */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spin {
  animation: spin 12s linear infinite;
}

/* Responsive tweaks scoped to this section */
@media (max-width: 1024px) {
  /* Reduce top container padding & margins so it fits tablet screens */
  .mx-4.md\:mx-12.lg\:mx-24 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .mx-4.md\:mx-12.lg\:mx-24 .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .text-4xl.md\:text-5xl {
    font-size: 2.25rem;
  }
  .space-y-12 > .relative {
    padding-left: 3rem;
  }
  .pl-16 {
    padding-left: 3rem;
  }
  .stat-card .text-5xl {
    font-size: 2.75rem;
  }
  /* Ensure default vertical line alignment remains centered under 48px circle */
  .relative .left-6 {
    left: 1.5rem !important;
    top: 1.5rem !important;
  }
}

@media (max-width: 768px) {
  /* Stack layout: show expertise points first then stats */
  .grid.grid-cols-1.lg\:grid-cols-2 {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  /* Reduce left padding for timeline items */
  .pl-16 {
    padding-left: 3rem;
  }
  /* Circle -> 44px on tablets */
  .relative .w-12.h-12 {
    width: 44px !important;
    height: 44px !important;
  }
  .relative .w-12.h-12 span {
    font-size: 1rem !important;
    line-height: 1;
  }
  /* Align vertical connector exactly under 44px circle: left = 22px, top = 22px */
  .relative .left-6 {
    left: 22px !important;
    top: 22px !important;
  }
  /* Reduce heading sizes for readability */
  .text-4xl.md\:text-5xl {
    font-size: 1.9rem;
    line-height: 1.05;
  }
  .text-2xl {
    font-size: 1.15rem;
  }
  .hero .text-gray-400, .container p {
    font-size: 0.95rem;
  }
  /* Stats layout: keep 2 columns but reduce spacing and font sizes */
  .grid.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 0.75rem;
  }
  .stat-card {
    padding: 1rem;
  }
  .stat-card .text-5xl {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  /* Tighter adjustments for small phones */
  .mx-4.md\:mx-12.lg\:mx-24 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
  .mx-4.md\:mx-12.lg\:mx-24 .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .pl-16 {
    padding-left: 2.6rem;
  }
  /* Circle -> 36px on small phones */
  .relative .w-12.h-12 {
    width: 36px !important;
    height: 36px !important;
  }
  .relative .w-12.h-12 span {
    font-size: 0.95rem !important;
  }
  /* Align vertical connector exactly under 36px circle: left = 18px, top = 18px */
  .relative .left-6 {
    left: 18px !important;
    top: 18px !important;
  }
  .text-4xl.md\:text-5xl {
    font-size: 1.6rem;
  }
  .text-2xl {
    font-size: 1rem;
  }
  .stat-card .text-5xl {
    font-size: 1.6rem;
  }
  .grid.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 0.5rem;
  }
  .stat-card {
    padding: 0.75rem;
    border-radius: 0.75rem;
  }
  /* Ensure the vertical connector doesn't overflow on very small screens */
  .absolute.left-6.top-6.w-px.h-full {
    height: calc(100% - 32px);
    top: 18px !important;
  }
}

/* Expertise Sections End Here */



/* Why Choose Us Sections Starts From Here */
/* Animation for spinning */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spin {
  animation: spin 12s linear infinite;
}

/* CTA Button Styles */
.cta-btn:hover i {
  color: black !important;
}

.cta-btn.schedule-call:hover .hover-bg {
  background-color: #bff747 !important;
  transform: translateX(0) !important;
}

/* Premium Card Styles */
.premium-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover {
  border-color: #bff747;
}
/* Why Choose Us Sections End Here */


/* How It Works Sections Starts From Here */ /* How It Works Sections Starts From Here */ /* How It Works Sections Starts From Here */

/* Animation for spinning */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.animate-spin-slow {
  animation: spin 12s linear infinite;
}

/* Drop animation styling */
.drop-animation {
  position: absolute;
  top: 0;
  width: 2px;
  height: 100px;
  background: linear-gradient(to bottom, #bff747, transparent);
  opacity: 0;
  transform: translateY(-100px);
}

@keyframes drop {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

.animate-drop {
  animation: drop 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Animation delays for sequencing */
.animation-delay-0 { animation-delay: 0s; }
.animation-delay-1000 { animation-delay: 1s; }
.animation-delay-2000 { animation-delay: 2s; }
.animation-delay-3000 { animation-delay: 3s; }
.animation-delay-4000 { animation-delay: 4s; }
.animation-delay-5000 { animation-delay: 5s; }
.animation-delay-6000 { animation-delay: 6s; }
.animation-delay-7000 { animation-delay: 7s; }
.animation-delay-8000 { animation-delay: 8s; }

/* Pulse animation for step numbers */
.pulse-animation {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* Ensure the small inner container is a positioned ancestor so the step-number can center inside it */
#how-it-works .w-24 {
  position: relative;
}

/* Position step-number centered inside the inner green circle (desktop and mobile) */
.step-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CTA Button Styles */
.cta-btn.schedule-consult:hover i {
  color: black !important;
}

.cta-btn.schedule-consult:hover .hover-bg {
  background-color: #bff747 !important;
  transform: translateX(0) !important;
}

/* Responsive design — mobile-only reordering so: Circle (number) appears first, then content for every step. */
@media (max-width: 768px) {
  /* Reduce top/bottom padding for mobile */
  #how-it-works {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  /* Make each step single-column and center children */
  .relative.grid {
    grid-template-columns: 1fr !important;
  }

  .relative.grid > div {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Preferred, modern approach: move whatever child contains the circle to order:1
     and child that contains the content (h3) to order:2 */
  .relative.grid > div:has(h3) {
    order: 2;
  }

  .relative.grid > div:not(:has(h3)) {
    order: 1;
  }

  /* Fallback for browsers without :has(): explicit per-step forcing (4 steps) */
  .space-y-20 > .relative.grid:nth-child(1) > div:first-child {
    order: 2;
  }

  .space-y-20 > .relative.grid:nth-child(1) > div:last-child {
    order: 1;
  }

  /* Step 2: circle is first in HTML already -> ensure circle stays first */
  .space-y-20 > .relative.grid:nth-child(2) > div:first-child {
    order: 1;
  }

  .space-y-20 > .relative.grid:nth-child(2) > div:last-child {
    order: 2;
  }

  /* Step 3: content is first in HTML -> flip */
  .space-y-20 > .relative.grid:nth-child(3) > div:first-child {
    order: 2;
  }

  .space-y-20 > .relative.grid:nth-child(3) > div:last-child {
    order: 1;
  }

  /* Step 4: circle is first in HTML already -> keep */
  .space-y-20 > .relative.grid:nth-child(4) > div:first-child {
    order: 1;
  }

  .space-y-20 > .relative.grid:nth-child(4) > div:last-child {
    order: 2;
  }

  /* Hide drop animations for performance on mobile */
  .drop-animation {
    display: none !important;
  }

  /* Scale down the large ping and circles so they fit on small screens */
  #how-it-works .w-48 {
    width: 8rem !important;
    height: 8rem !important;
  }

  #how-it-works .w-32 {
    width: 5.5rem !important;
    height: 5.5rem !important;
  }

  #how-it-works .w-24 {
    width: 4rem !important;
    height: 4rem !important;
  }

  #how-it-works .w-16 {
    width: 3rem !important;
    height: 3rem !important;
  }

  /* Keep step-number centered inside the inner circle on mobile (absolute inside .w-24 works) */
  .relative.grid > div .step-number {
    margin-top: 0 !important;
  }

  .relative.grid > div .step-number span {
    font-size: 0.9rem !important;
    line-height: 1 !important;
  }

  /* Reduce heading sizes slightly */
  #how-it-works h2 {
    font-size: 1.6rem !important;
    line-height: 1.05 !important;
  }

  #how-it-works h3 {
    font-size: 1.15rem !important;
  }

  /* Slightly smaller paragraph/list text */
  #how-it-works p, #how-it-works ul li span {
    font-size: 0.95rem !important;
  }

  /* Reduce spacing between steps */
  .space-y-20 > * + * {
    margin-top: 1.5rem !important;
  }

  /* Make CTA buttons more compact */
  .cta-btn {
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
    padding-top: 0.6rem !important;
    padding-bottom: 0.6rem !important;
  }

  .cta-btn .relative.z-10 {
    font-size: 0.95rem !important;
  }

  /* Slightly slower pulse for mobile */
  .pulse-animation {
    animation: pulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
  }

  /* Keep vertical timeline hidden on mobile */
  .hidden.md\:block {
    display: none !important;
  }
}

/* How It Works Sections Ends Here */ /* How It Works Sections Ends Here */ /* How It Works Sections Ends Here */


/* Portfolio Showcase Sections Stats From Here */ /* Portfolio Showcase Sections Stats From Here */ /* Portfolio Showcase Sections Stats From Here */

/* Animation for spinning */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-spin-slow {
  animation: spin 12s linear infinite;
}

/* Portfolio image styling */
.portfolio-image {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
}

/* Shine effect */
.shine-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.portfolio-image:hover .shine-effect {
  left: 150%;
  transition: left 0.6s ease;
}

.portfolio-image:hover img {
  transform: scale(1.05);
}

.portfolio-image:hover .portfolio-overlay {
  opacity: 1;
}

/* Tab styling */
.tab-btn {
  background: rgba(15, 15, 25, 0.5);
  border: 1px solid rgba(191, 247, 71, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn.active {
  background: rgba(191, 247, 71, 0.1);
  border-color: rgba(191, 247, 71, 0.3);
}

.tab-btn.active span span:first-of-type {
  color: #bff747;
}

.tab-btn:hover {
  background: rgba(191, 247, 71, 0.1);
  transform: translateY(-3px);
}

.tab-btn.active:hover {
  transform: none;
}

/* Arrow button */
.arrow-btn {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid white;
  background-color: transparent;
  opacity: 0;
  transform: scale(0.8);
}

.portfolio-image:hover .arrow-btn {
  opacity: 1;
  transform: scale(1);
}

.arrow-btn:hover {
  background-color: #bff747;
}

.arrow-btn:hover .arrow-icon {
  color: black;
}

/* SMOOTH ARROW ROTATION - Enhanced for perfect smoothness */
.arrow-icon {
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
  will-change: transform;
  color: white;
}

.arrow-btn:hover .arrow-icon {
  transform: rotate(0deg);
}

/* Category tag styling */
.portfolio-image .absolute.top-4.right-4 {
  background: rgba(191, 247, 71, 0.9);
  color: #000;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.portfolio-image:hover .absolute.top-4.right-4 {
  background: rgba(191, 247, 71, 1);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(191, 247, 71, 0.3);
}

/* Mobile-specific behavior */
@media (max-width: 768px) {
  .arrow-btn {
    opacity: 1 !important;
    transform: scale(1) !important;
    border-color: #ffffff;
    background-color: transparent;
    width: 6rem;
    height: 6rem;
  }

  .arrow-btn .arrow-icon {
    color: #ffffff;
    transform: rotate(-45deg);
  }

  .arrow-btn:active,
  .arrow-btn:focus,
  .arrow-btn:hover {
    background-color: #bff747;
  }

  .arrow-btn:active .arrow-icon,
  .arrow-btn:focus .arrow-icon,
  .arrow-btn:hover .arrow-icon {
    color: #000000;
    transform: rotate(0deg);
  }

  .portfolio-overlay {
    opacity: 1 !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  }
}

/* Portfolio Showcase Section Ends Here */ /* Portfolio Showcase Section Ends Here */ /* Portfolio Showcase Section Ends Here */



/* Testimonial Carousel Section Starts Here */ /* Testimonial Carousel Section Starts Here */ /* Testimonial Carousel Section Starts Here */

/* Animation for spinning */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.spin {
  animation: spin 12s linear infinite;
}

/* Testimonial Carousel */
.testimonial-carousel-container {
  position: relative;
  height: 100%;
}

.testimonial-carousel-item {
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-arrow {
  transition: background-color 0.3s ease;
  background: transparent;
}

.testimonial-arrow:hover .arrow-icon {
  color: black;
}

.arrow-icon {
  font-size: 18px;
  transition: color 0.3s ease;
}

.testimonial-quote-text {
  position: relative;
  padding: 0 15px;
}

.testimonial-quote-text::before {
  content: open-quote;
  font-size: 4rem;
  color: rgba(191, 247, 71, 0.15);
  position: absolute;
  left: -10px;
  top: -25px;
  font-family: serif;
  line-height: 1;
}

.testimonial-quote-text::after {
  content: close-quote;
  font-size: 4rem;
  color: rgba(191, 247, 71, 0.15);
  position: absolute;
  right: -10px;
  bottom: -40px;
  font-family: serif;
  line-height: 1;
}

.testimonial-arrow {
  border: 2px solid #bff747 !important;
  position: relative;
  z-index: 10;
}

/* Testimonial Carousel Section Ends Here */ /* Testimonial Carousel Section Ends Here */ /* Testimonial Carousel Section Ends Here */


/* Packages Section Starts From Here */ /* Packages Section Starts From Here */ /* Packages Section Starts From Here */

.package-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.package-card:hover {
  box-shadow: 0 20px 40px rgba(191, 247, 71, 0.15);
}

.animate-spin-slow {
  animation: spin 12s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .grid.grid-cols-1.md\:grid-cols-3 {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .package-card {
    margin-bottom: 2rem;
  }
}

/* Packages Section Ends Here */ /* Packages Section Ends Here */ /* Packages Section Ends Here */


/* Features Section Starts From Here */ /* Features Section Starts From Here */ /* Features Section Starts From Here */

.features-box {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.features-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(191, 247, 71, 0.05) 0%, transparent 70%);
  z-index: -1;
  animation: rotate 15s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.feature-item {
  position: relative;
  padding: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
  transform: translateY(-10px);
}

.feature-item:hover .feature-icon {
  transform: rotateY(360deg);
  box-shadow: 0 0 30px rgba(191, 247, 71, 0.5);
}

.feature-icon {
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-spin-slow {
  animation: spin 12s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1024px) {
  .feature-item {
    border-bottom: 1px solid rgba(191, 247, 71, 0.1);
    padding-bottom: 30px;
  }

  .feature-item:last-child {
    border-bottom: none;
  }

  .feature-item::after {
    display: none;
  }
}

/* Features Section Ends Here */ /* Features Section Ends Here */ /* Features Section Ends Here */



/* Blog Section Starts From Here */ /* Blog Section Starts From Here */ /* Blog Section Starts From Here */

.blog-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-image {
  position: relative;
  overflow: hidden;
}

/* Shine effect */
.shine-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.blog-card:hover .shine-effect {
  left: 150%;
  transition: left 0.6s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-card:hover .blog-overlay {
  opacity: 1;
}

/* Enhanced arrow button styles */
.read-more-btn {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid white;
  background-color: transparent;
  opacity: 0;
  transform: scale(0.8);
}

.blog-card:hover .read-more-btn {
  opacity: 1;
  transform: scale(1);
}

.read-more-btn:hover {
  background-color: #bff747;
}

.read-more-btn:hover .arrow-icon {
  color: black;
}

/* SMOOTH ARROW ROTATION */
.arrow-icon {
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
  will-change: transform;
  color: white;
}

.read-more-btn:hover .arrow-icon {
  transform: rotate(0deg);
}

.animate-spin-slow {
  animation: spin 12s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Category tag styling */
.blog-image .absolute.top-4.right-4 {
  background: rgba(191, 247, 71, 0.9);
  color: #000;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.blog-card:hover .absolute.top-4.right-4 {
  background: rgba(191, 247, 71, 1);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(191, 247, 71, 0.3);
}

/* Improved card hover effect */
.blog-card {
  background: rgba(15, 15, 25, 0.3);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(191, 247, 71, 0.1);
  transition: all 0.4s ease;
}

.blog-card:hover {
  border-color: rgba(191, 247, 71, 0.3);
  box-shadow: 0 10px 30px rgba(191, 247, 71, 0.1);
}

.blog-card .mt-6 {
  padding: 0 24px 24px;
}

/* Blog Section Ends Here */ /* Blog Section Ends Here */ /* Blog Section Ends Here */


/* Contact Section Starts From Here */
/* Animation for floating elements */
@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-20px) translateX(10px);
  }
  50% {
    transform: translateY(10px) translateX(-15px);
  }
  75% {
    transform: translateY(-15px) translateX(-10px);
  }
}

.animate-float {
  animation: float 8s ease-in-out infinite;
}

.animation-delay-2000 {
  animation-delay: 2s;
}

.animation-delay-4000 {
  animation-delay: 4s;
}

/* Slow pulse animation */
@keyframes pulse-slow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.3;
  }
}

.animate-pulse-slow {
  animation: pulse-slow 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Slow spin animation */
.animate-spin-slow {
  animation: spin 12s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  h2 {
    font-size: 3.5rem;
  }

  .collaboration-circle {
    width: 32vw;
    height: 32vw;
    max-width: 160px;
    max-height: 160px;
  }
}

/* Contact Section Ends Here */



/* Footer Section Starts From Here */

/* Floating animations */
@keyframes float-1 {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-20px) translateX(15px);
  }
}

@keyframes float-2 {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(15px) translateX(-20px);
  }
}

@keyframes float-3 {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-25px) translateX(-15px);
  }
}

@keyframes float-4 {
  0%, 100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  50% {
    transform: translateY(20px) translateX(10px) rotate(10deg);
  }
}

@keyframes float-5 {
  0%, 100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) translateX(-15px) rotate(-10deg);
  }
}

.animate-float-1 {
  animation: float-1 8s ease-in-out infinite;
}

.animate-float-2 {
  animation: float-2 10s ease-in-out infinite;
}

.animate-float-3 {
  animation: float-3 12s ease-in-out infinite;
}

.animate-float-4 {
  animation: float-4 9s ease-in-out infinite;
}

.animate-float-5 {
  animation: float-5 11s ease-in-out infinite;
}

/* Footer link hover effect */
.footer-link:hover i {
  transform: translateX(3px);
}

.footer-link i {
  transition: transform 0.3s ease;
}

/* Social icon hover effect */
.social-icon {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(191, 247, 71, 0.3);
}

/* Slow spin animation for logo */
.animate-spin-slow {
  animation: spin 12s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-col {
    margin-bottom: 2rem;
  }

  .footer-col:last-child {
    margin-bottom: 0;
  }
}

/* Footer Section Ends Here */




/* Floating Buttons Container Starts From Here */
.floating-buttons {
  position: fixed;
  right: 15px;
  bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 9999;
}

.button-container {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
}

/* Base Button Styles */
.whatsapp-btn, .scroll-top-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: visible;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: none;
  outline: none;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  border: 1px solid #bff747;
}

.scroll-top-btn {
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Button Core Elements */
.btn-core {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: all 0.4s ease;
}

/* Button Icons */
.btn-core i {
  font-size: 16px;
  color: #bff747;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* WhatsApp Button Text */
.btn-text {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  color: #bff747;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.4s ease;
  white-space: nowrap;
  border: 1px solid #bff747;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  margin-right: 8px;
  opacity: 0;
  visibility: hidden;
}

.button-container:hover .btn-text {
  opacity: 1;
  visibility: visible;
}

/* Hover Effects */
.whatsapp-btn:hover, .scroll-top-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(191, 247, 71, 0.3);
}

.whatsapp-btn:hover .btn-core i,
.scroll-top-btn:hover .btn-core i {
  color: #000;
  transform: scale(1.2);
}

.whatsapp-btn:hover, .scroll-top-btn:hover {
  background: #bff747;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .floating-buttons {
    right: 10px;
    bottom: 10px;
  }

  .whatsapp-btn, .scroll-top-btn {
    width: 30px;
    height: 30px;
  }

  .btn-core i {
    font-size: 14px;
  }
}


/* Floating Buttons Container Ends Here */
