/* ======================== General Styling ======================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: #000;
}

img {
  display: block;
  max-width: 100%;
}

/* ======================== Header & Navigation ======================== */

/* Menubar */
.menubar {
  display: none;
}

/* Sidenav */
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
  margin-top: 0;
}

.sidenav p {
  color: #ccc;
  padding: 0 0 0 5vw;
}

.sidenav ul {
  font-size: 4vw;
}

.sidenav li {
  display: inline-block;
  font-size: 1vw;
  margin-left: 8vw;
  height: 8vw;
}

.sidenav a {
  padding: 0 8px 0 32px;
  text-decoration: none;
  font-size: 4vw;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: black;
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 2px 10px -5px rgb(255, 255, 255);
  height: 5vw;
}

.navbar a,
.navbar p {
  font-size: 1.2vw;
  color: white;
  font-weight: bold;
  text-decoration: none;
}

.navbarsinfoLogo img {
  height: 3.5vw;
  width: 8vw;
  border-radius: 0.5vw;
}

/* Navigation List & Dropdowns */
nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  position: relative;
  display: inline-block;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #000;
  color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  min-width: 250px;
  z-index: 1;
  padding: 0;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.dropdown-menu li {
  display: block;
  padding: 0;
}

.dropdown-menu li a,
.dropdown-menu li p {
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  display: block;
  font-family: "Arial", sans-serif;
  font-size: 14px;
}

.dropdown-menu li a:hover {
  background-color: #333;
}

/* Dropdown Sections */
.dropdown-section {
  padding: 10px 20px;
  border-bottom: 1px solid #575757;
}

.dropdown-section:last-child {
  border-bottom: none;
}

.dropdown-heading1 {
  font-weight: bold;
  margin-bottom: 8px;
  display: block;
  font-size: 16px;
  background-color: #575757;
}

.dropdown-section ul {
  margin: 0;
  padding-left: 0;
}

.dropdown-section ul li {
  padding: 4px 0;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
  margin: 0;
  padding: 0;
}

/* Dropdown Toggle */
.dropdown-toggle {
  color: #000;
  padding: 10px 5px;
  text-decoration: none;
  display: block;
  font-family: "Arial", sans-serif;
  font-size: 14px;
}

/* Dropdown Caret */
.Dropdowncaret {
  display: flex;
  flex-direction: row;
  align-items: center;
}

/* .Dropdowncaret:hover {
  background-color: #ddd;
}  */

/* Infinite Solutions Element */
.InfiniteSolutions {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  color: rgb(0, 0, 0);
  border-radius: 1vw;
  padding: 0 0.5vw;
  background-color: white;
}

.InfiniteSolutions a {
  color: rgb(0, 0, 0);
  padding: 0.5vw 0;
}

.InfiniteSolutions img {
  height: 1.5vw;
  width: 3vw;
}

/* Navbar Phone Number */
.NavbarPhoneNo {
  padding: 0;
}

.NavbarPhoneNo a {
  font-size: 1.2vw;
}

/* Navbar Book a Demo Button */
.NavbarBookADemo button {
  font-weight: bold;
  font-size: 0.9vw;
  background-color: white;
  color: black;
  border: 2px solid black;
  padding: 0.5vw;
  width: 9vw;
  border-radius: 25px;
  cursor: pointer;
}

.NavbarBookADemo button:hover {
  background-color: white;
  color: black;
  border: 2px solid black;
  transition: 0.3s;
}

:root {
  --primary: #8a63f8;
  --secondary: #6c4bd1;
  --accent: #ff7aa8;
  --text: #f0f0f0;
  --dark-bg: #121212;
  --card-bg: #1e1e1e;
  --border: #333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background-color: var(--dark-bg);
  color: var(--text);
}

.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  background: radial-gradient(circle at 20% 30%, #1a1a2e 0%, #121212 70%);
}

.hero-content {
  display: flex;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  gap: 4rem;
}

.hero-image {
  flex: 1;
  min-width: 400px;
  filter: drop-shadow(0 0 20px rgba(138, 99, 248, 0.2));
  animation: float 6s ease-in-out infinite;
}

.hero-text {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp1 1s ease-out forwards;
  animation-delay: 0.2s;
}

@keyframes fadeInUp1 {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  /* color: #EFE17C; */
  line-height: 1.3;
  background: #efe17c;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.hero-text p {
  font-size: 1.1rem;
  color: rgba(240, 240, 240, 0.85);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.callusbtn1 {
  padding: 1vw 2vw;
  border: 2px solid #efe17c;
  border-radius: 1vw;
  color: #000;
  background-color: #efe17c;
  font-weight: bold;
  margin: 0vw 0vw 0vw 0vw;
  transition: 0.2s;
}

.callusbtn1:hover{
  text-decoration: none;
  color: #efe17c;
  background-color: #000000;
}


.callusbtn {
  padding: 1.2vw;
  border: 2px solid #efe17c;
  border-radius: 1vw;
  color: #efe17c;
  background-color: #000000;
  font-weight: bold;
  margin: 0vw 0vw 0vw 1vw;
  display: none;
}

.callusbtn:hover{
  text-decoration: none;
  color: #000000;
  background-color: #efe17c;
}

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

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

@keyframes pulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}

@keyframes dataTransfer {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(180px);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 70vh;
  }
  .hero-content {
    flex-direction: column;
    gap: 2rem;
  }

  .hero-image {
    min-width: 100%;
  }

  .hero-text h1 {
    font-size: 2rem;
  }
}

/* ============================ Excel To Tally Process ========================= */

.hidden-on-load {
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.workflow-cards-wrapper:not(.hidden-on-load) {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.workflow-container {
  width: 100%;
  margin: auto;
  padding: 0;
}

.workflow-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 0 20px;
}

.workflow-header h1 {
  color: #EFE17C;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 1vw 0vw 0vw 0vw;
  font-weight: 700;
}

.workflow-header p {
  color: #b2bec3;
  font-size: 1.5rem;
  /* max-width: 800px; */
  margin: 0 auto;
  line-height: 1.6;
}

.workflow-cards-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.workflow-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
}

.workflow-card {
  background: #1e1e1e;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  text-align: center;
  width: 10vw;/* 4 cards per row by default */
  /* min-width: 220px; */
  flex: 1 0 auto;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.workflow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background:#EFE17C;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.workflow-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.workflow-card.active::before {
  transform: scaleX(1);
}

.workflow-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.card-icon {
  margin: 0 auto 20px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #a29bfe;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: #EFE17C;
  margin: 15px 0 10px;
}

.card-level {
  margin: 10px 0;
  background: #EFE17C;
  color: #000;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.card-desc {
  font-size: 0.85rem;
  color: #dfe6e9;
  margin-top: 15px;
  line-height: 1.6;
  min-height: 60px;
}

.card-status {
  margin-top: 20px;
  color: #EFE17C;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Animation classes */
.animate-draw path,
.animate-draw line,
.animate-draw rect,
.animate-draw circle,
.animate-draw polyline {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw 1.5s ease forwards;
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.5s;
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Connection lines between cards */
.connector-line {
  position: absolute;
  top: 50%;
  height: 2px;
  background: #6c5ce7;
  z-index: -1;
  opacity: 0.3;
  transform: translateY(-50%);
}

@media (max-width: 1024px) {
  .workflow-card {
    width: calc(33.333% - 20px); /* 3 cards per row */
  }
}

@media (max-width: 768px) {

  .workflow-header h1 {
    width: 100%;
    font-size: 5.5vw;
  }

  .workflow-card {
    width: calc(50% - 20px); /* 2 cards per row */
  }
  
  .connector-line {
    display: none;
  }
}

@media (max-width: 480px) {
  .workflow-header {
    margin-bottom: 30px;
    padding: 0 15px;
  }
  
  .workflow-card {
    width: 100%; /* 1 card per row on very small screens */
    max-width: 300px;
    margin: 0 auto;
  }
  
  .card-title {
    font-size: 1rem;
  }
  
  .card-desc {
    font-size: 0.8rem;
    font-weight: bolder;
  }
}
/* =========================== Features ====================== */

.feature-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.feature-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.feature-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #efe17c;
}

.subtitle {
  color: #ffffff;
  font-size: 1.1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #000;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  border: 1px solid #efe17c;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px rgba(74, 107, 255, 0.1);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  color: #4a6bff;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  color: #efe17c;
}

.feature-card p {
  color: #ffffff;
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  body {
    padding: 1rem;
  }

  .feature-container {
    padding: 1rem;
  }

  .feature-header h1 {
    font-size: 1.5rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================== Call To Action ========================== */

.transfer-container {
  width: 100%;
  min-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  box-sizing: border-box;
}

.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.text-content {
  flex: 1;
  min-width: 300px;
  padding: 1rem;
}

.main-heading {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  background: #efe17c;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  line-height: 1.2;
}

.sub-heading {
  color: #ffffff;
  font-size: clamp(1.3rem, 2vw, 1.2rem);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.demo-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(to right, #6366f1, #8b5cf6);
  color: white;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.demo-button:hover {
  animation: none;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(108, 92, 231, 0.5);
}

.visualization {
  width: 50%;
  max-width: 1000vw; /* or any preferred limit */
  margin: 0 auto;
}

.visualization svg {
  width: 100%;
  height: auto;
  display: block;
}

.cta-extra {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    animation: fadeInUp 1s ease-out 1s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.shield-icon {
    width: 20px;
    height: 20px;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.shield-icon svg {
    width: 14px;
    height: 14px;
    fill: #4ade80;
}

.cta-extra span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* svg {
      width: 100%;
      height: 100%;
    } */

/* Animation Classes */
.animate-draw {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: floatIn 0.5s forwards;
}

.animate-fade {
  opacity: 0;
  animation: floatIn 0.5s forwards;
}

.animate-excel-cell {
  opacity: 0;
  transform: translateY(5px);
  animation: floatIn 0.5s forwards;
}

.animate-tally-row {
  opacity: 0;
  transform: translateY(5px);
  animation: floatIn 0.5s forwards;
}

.animate-transfer {
  opacity: 0;
  animation: floatIn 0.5s ease-in-out infinite;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes floatIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes transferPacket {
  0% {
    opacity: 0;
    transform: translateX(0);
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

@keyframes highlight {
  0% {
    fill: #3b82f6;
  }
  50% {
    fill: #a29bfe;
  }
  100% {
    fill: #3b82f6;
  }
}

@media (max-width: 768px) {
  .visualization {
    padding: 0.5rem;
  }

  .demo-button {
    display: block;
    margin: 0vw 0vw 5vw 0vw;
  }

  .callusbtn1 {
    padding: 3vw 2vw;
    margin: 0vw 2vw 0vw 0vw;
  }

  .callusbtn {
    padding: 3.2vw 3vw;
    display: inline;
  }

  .visualization svg {
    transform: scale(2.6); /* You can tweak this value */
    transform-origin: center;
  }
  .cta-extra {
    margin: 5vw 0vw 0vw 0vw;
  }
}

@media (max-width: 480px) {
  .visualization svg {
    transform: scale(2.4); /* Larger on very small screens */
  }
}

/* ======================== Footer ======================== */
footer {
  background-color: black;
  color: white;
  padding: 3vw 0 0 0;
}

.footermain {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
}

.FooterLeft {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 40%;
  padding: 0 1vw 0 1vw;
}

.FooterLeft img {
  height: 7vw;
  width: 15vw;
}

.FooterLeft h1 {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.6vw;
  font-weight: 500;
  margin: 0.5vw 0 0 0;
}

.FooterRight {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  height: 25vw;
  width: 100%;
}

.SocialMedia {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2vw;
  margin: 1vw 0 0 0;
}

.SocialMedia img {
  height: 3vw;
  width: 3vw;
}

.footer-column {
  margin: 0 3vw 0 0;
}

.footer-column ul {
  height: 4vw;
}

.footer-column li {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 2.5vw;
}

.footer-column a {
  text-decoration: none;
  color: white;
  font-size: 1.2vw;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.footer-column h3 {
  font-size: 2vw;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* ======================== Media Queries ======================== */

@media (max-width: 600px) {
  .navbar {
    height: 10vw;
  }
  .navbarsinfoLogo img {
    height: 5vw;
    width: 15vw;
    border-radius: 1vw;
  }
  .NavbarPhoneNo a {
    font-size: 2.2vw;
    font-weight: 900;
  }
  .navbar p {
    font-size: 2vw;
    margin: 0.2vw 0 0 0;
  }
  .NavbarBookADemo button {
    font-size: 2vw;
    width: 20vw;
    height: 5vw;
    margin: 0;
    padding: 0.2vw 0;
  }
  .NavbarSearchIcon button {
    height: 2vw;
    width: 3.5vw;
    margin: 0 0 3vw 0;
  }
  .dropdown,
  .NavbarServices,
  .NavbarAcademy,
  .NavbarAboutUs,
  .NavbarContactUs {
    font-size: 1.8vw;
    display: none;
  }
  .InfiniteSolutions a {
    font-size: 2.5vw;
  }
  .navbar h6 {
    font-size: 2vw;
    margin: 0.8vw 0 0 0;
    text-decoration: none;
  }
  .MenuIcon button {
    display: inline;
    height: 5vw;
  }
  .menubar {
    display: inline;
  }
  /* Footer Adjustments */
  .footer-column a {
    font-size: 2vw;
  }
  .footer-column li {
    margin: 0 0 1vw 0;
  }
  .FooterLeft h1 {
    font-size: 2vw;
  }
}

@media screen and (min-width: 768px) and (max-width: 1250px) {
  .menubar {
    display: none;
  }
  #Navbar img {
    margin: 0.6vw 2vw 0 2vw;
  }
  #tally-support {
    height: 22vw;
  }
  #tally-support h2 {
    font-size: 3.5vw;
  }
  #tally-support .section-intro {
    font-size: 2vw;
  }
}

@media screen and (min-width: 320px) and (max-width: 768px) {
  .sidenav {
    margin-top: 45px;
    z-index: 20;
  }
  header {
    height: 12vw;
  }
  .InfiniteSolutions img {
    height: 3vw;
    width: 7vw;
  }
  .NavbarPhoneNo {
    display: none;
    padding: 0.5vw 0 1vw 0;
  }
  .NavbarPhoneNo a {
    font-size: 2.2vw;
    font-weight: 900;
  }
  .navbar p {
    font-size: 2vw;
    margin: 0.2vw 0 0 0;
  }
  .menubar {
    display: inline;
  }
}

@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }
  .sidenav a {
    font-size: 18px;
  }
}
