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

body {
  margin: 0;
  padding: 0;
  background-color: #000; /* Dark background */
  color: #fff; /* Default white text */
}

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

/* ======================== Sidebar (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: 70px;
}

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

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

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

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 4vw;
  color: #fff;
  display: block;
  transition: 0.3s;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.sidenav a:hover {
  color: #EFE17C; /* Golden on hover */
}

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

/* ======================== Navbar ======================== */
.navbarr {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: #222; /* Dark background */
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 2px 10px -5px gray;
  height: 5vw;
}

.navbarr a,
.navbarr p {
  font-size: 1.2vw;
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
}

.navbarr a {
  font-size: 1.2vw;
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
}

.menubar {
  display: none;
}

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

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

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

.dropdownn-menu {
  display: none;
  position: absolute;
  background-color: #333;
  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 #575757;
}

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

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

.dropdownn-menu li a:hover {
  background-color: #444;
}

.dropdownn-section {
  padding: 10px 20px;
  border-bottom: 1px solid #575757;
}

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

.dropdownn-heading1 {
  font-weight: bold;
  margin-bottom: 8px;
  display: block;
  font-size: 16px;
  background-color: #575757;
  color: #EFE17C; /* Golden for important headings */
}

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

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

.dropdownn:hover .dropdownn-menu {
  display: block;
}

.dropdownn-toggle {
  color: #fff;
  padding: 10px 5px;
  text-decoration: none;
  display: block;
  font-family: 'Arial', sans-serif;
  font-size: 14px;
}

.Dropdowncaret {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.infinite-dropdown {
  max-height: 80vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ddd4d5 #333;
}

.infinite-dropdown::-webkit-scrollbar {
  width: 6px;
}

.infinite-dropdown::-webkit-scrollbar-track {
  background: #333;
}

.infinite-dropdown::-webkit-scrollbar-thumb {
  background-color: #e81c24;
  border-radius: 3px;
}

/* This is the key fix — without it, dropdown-section overrides overflow */
.infinite-dropdown .dropdown-section {
  display: block;
}

.infinite-dropdown .dropdown-section {
  display: block;
  border-bottom: none;
  padding: 6px 0px;
}

.infinite-dropdown .dropdown-section:first-child {
  padding: 0;
  margin: 0;
}

.infinite-dropdown .dropdown-heading1 {
  margin: 0;
  padding: 10px 20px;
}

/* Additional Navbar Elements */
.InfiniteSolutionss {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #222;
  color: #fff;
  border-radius: 1vw;
  padding: 0vw 0.5vw;
}

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

.InfiniteSolutionss a {
  color: #fff;
  padding: 0.5vw 0vw;
}

.NavbarSearchIcon button {
  height: 3vw;
  width: 3vw;
  margin: 0vw 2vw 0vw 0vw;
  background-color: #222;
  border: 0.1vw solid #222;
  cursor: pointer;
}

.NavbarBookADemo button {
  font-weight: bold;
  font-size: 0.9vw;
  background-color: #EFE17C; /* Golden button for emphasis */
  color: #000;
  border: 2px solid #EFE17C;
  padding: 0.5vw;
  width: 9vw;
  border-radius: 25px;
  cursor: pointer;
}

.NavbarBookADemo button:hover {
  background-color: #fff;
  color: #000;
  border: 0.15vw solid #fff;
}

/* ======================== Tally Support Section ======================== */
#tally-support {
  margin: 0vw auto;
  padding: auto;
  background: linear-gradient(135deg, #333, #000); /* Dark gradient background */
  position: relative;
  overflow: hidden;
  color: #fff;
}

/* Decorative floating circles with rotation animation */
@keyframes rotateCircle {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

#tally-support::before,
#tally-support::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  z-index: 0;
  animation: rotateCircle 20s linear infinite;
}

#tally-support::before {
  width: 150px;
  height: 150px;
  top: -50px;
  right: -50px;
}

#tally-support::after {
  width: 150px;
  height: 150px;
  bottom: -50px;
  left: -50px;
  animation-duration: 25s;
  animation-direction: reverse;
}

#tally-support .container {
  margin: 1vw 0vw 3vw 0vw;
  padding: 0vw 8vw;
  max-width: 100vw;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Section Title with Animated Underline */
#tally-support h2 {
  font-size: 2.5vw;
  margin: 8vw 0vw 1vw 0vw;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #EFE17C;
  position: relative;
}

#tally-support h2::after {
  content: "";
  display: block;
  width: 0;
  height: 4px;
  background: linear-gradient(to right, #EFE17C, #b29500);
  margin: 0.5vw auto 0;
  animation: expandLine 1s forwards;
}

@keyframes expandLine {
  from { width: 0; }
  to { width: 50%; }
}

#tally-support .section-intro {
  font-size: 1.6vw;
  margin-bottom: 2vw;
  color: #fff;
  font-family: 'Arial', sans-serif;
}

.btn-download {
  font-size: 1vw;
  color: #000;
  background-color: #EFE17C;
  padding: 1vw 2vw;
  border-radius: 2vw;
  font-weight: 700;
  border: 0.2vw solid #EFE17C;
}

.download-container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 20px;
  justify-content: center; 
  border-bottom: 1px solid #575757;
}

.download-text {
  font-size: 1.5em;
  margin: 0;
  font-weight: 600;
}

.download-container button {
  padding: 10px 20px;
  font-size: 1em;
  cursor: pointer;
  /* Additional button styling can be added here */
}

/* ============= */

.tcp-steps {
  margin-top: 30px;
  padding: 0 0vw;
  text-align: left;
}

.tcp-steps h3 {
  text-align: center;
  color: #EFE17C;
  margin: 5vw 0vw 2vw 0vw;
  font-size: 2vw;
}

.tcp-steps ol {
  list-style: none;
  counter-reset: tcp-counter;
  padding: 0vw 0vw 0vw 0vw;
}

.tcp-step {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #575757;
  padding-bottom: 20px;
  flex-direction: column;
}

.tcp-step:before {
  counter-increment: tcp-counter;
  content: counter(tcp-counter);
  font-size: 2rem;
  font-weight: bold;
  color: #EFE17C;
}

.tcp-step-content {
  flex: 1;
}

.tcp-step-content h4 {
  margin-bottom: 5px;
  color: #EFE17C;
  font-size: 1.8vw;
  text-align: center;
}

.tcp-step-content p {
  margin: 0;
  color: #fff;
  font-size: 1.5vw;
  text-align: center;
  margin: 1vw 0vw;
}

.tcp-step-image img {
  max-width: 700px;
  width: 100%;
  border-radius: 5px;
}

/* ======================= Module Video ======================= */

.video-section {
        max-width: 1000px;
        margin: 60px auto;
        padding: 40px;
        background-color: #1e1e1e;
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
    
    .section-heading {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .section-heading h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 16px;
        margin-top: 0vw;
        background: #EFE17C;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
    
    .section-heading p {
        font-size: 1.2rem;
        color: #b0b0b0;
        max-width: 800px;
        margin: 0 auto;
        line-height: 1.8;
    }
    
    .video-container {
        width: 100%;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    }
    
    video {
        width: 100%;
        display: block;
        background-color: #000;
        aspect-ratio: 16/9;
    }
    
    @media (max-width: 992px) {
        .video-section {
            margin: 40px 20px;
            padding: 30px;
        }
        
        .section-heading h2 {
            font-size: 2rem;
        }
        
        .section-heading p {
            font-size: 1.1rem;
        }
    }
    
    @media (max-width: 576px) {
        .video-section {
            margin: 20px 10px;
            padding: 20px;
        }
        
        .section-heading h2 {
            font-size: 1.8rem;
        }
    }

/* ============= */

/* Support Cards */
.support-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2vw;
}

.support-overview,
.support-download {
  flex: 1 1 45%;
  background: linear-gradient(135deg, #222, #333);
  padding: 2vw;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0; /* Start hidden for animation */
  animation: fadeInUp 1s forwards;
}

.support-overview {
  animation-delay: 0.3s;
}

.support-download {
  animation-delay: 0.6s;
}

.support-overview h3,
.support-download h3 {
  font-size: 2vw;
  margin-bottom: 1vw;
  color: #EFE17C; /* Golden headings */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.support-overview p,
.support-download p {
  font-size: 1.5vw;
  line-height: 1.6;
  color: #fff;
  font-family: 'Arial', sans-serif;
}

/* Call-to-Action Buttons */
.support-overview .btn-call,
.support-download .btn-download {
  display: inline-block;
  margin-top: 1.5vw;
  padding: 1vw 2vw;
  background-color: #EFE17C;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1vw;
}

.support-overview .btn-call:hover,
.support-download  {
  background-color: #EFE17C;;
  transform: translateY(-2px) scale(1.03);
}

.btn-download:hover {
  background-color: #333;;
  color: #EFE17C;
  text-decoration: none;
  border: 0.2vw solid #EFE17C;
}

.support-overview:hover,
.support-download:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}

/* Fade In Up Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======================== Footer ======================== */
footer {
  background-color: #111;
  color: #fff;
  padding: 5vw 0vw;
}

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

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

.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: 1.5vw 0vw 0vw 0vw;
}

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

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

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

.footer-column li {
  text-decoration: none;
  list-style: none;
  margin: 0vw 0vw 0.5vw 0vw;
}

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

.footer-column a {
  text-decoration: none;
  color: #fff;
  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;
  color: #EFE17C; /* Golden important text */
}

/* ======================== Media Queries ======================== */
@media screen and (max-width: 768px) {
  .Dropdowncaret, .NavbarAcademy, .NavbarContactUs {
    display: none;
  }

  .menubar {
    display: inline-block;
  }

  .sidenav {
    margin-top: 8vw;
  }

  .navbarr {
    justify-content: space-around;
    height: 12vw;
    width: 100vw;
    background-color: #222;
  }

  .navbarsinfoLogo img {
    width: 15vw;
    height: 5vw;
  }

  .navbarr a {
    font-size: 2.5vw;
    color: #fff;
  }

  .InfiniteSolutionss img {
    width: 5vw;
    height: 3vw;
  }

  .NavbarPhoneNo {
    padding-bottom: 1vw;
  }

  .NavbarPhoneNo a {
    font-size: 2.2vw;
    color: #fff;
  }

  .NavbarBookADemo button {
    height: 6.5vw;
    width: 20vw;
    font-size: 2vw;
    margin: 0vw 1vw 0vw 0vw;
  }

  /* ====================================================== */

  #tally-support h2 {
    margin: 15vw 0vw 0vw 0vw;
    font-size: 5vw
  }

  #tally-support .section-intro {
    margin: 5vw 0vw;
    font-weight: 600;
    font-size: 3.1vw;
  }

  #tally-support .container {
    width: 100vw;
  }

  #tally-support {
    padding: 0vw auto;
  }

  .support-overview h3, .support-download h3 {
    font-size: 5vw;
  }

  .support-overview p, .support-download p {
    font-size: 3.5vw;
    font-size: 600;
  }

  .download-text {
    font-size: 1rem;
  }

  .btn-download {
    font-size: 3vw;
    border-radius: 5vw;
    padding: 1.5vw 3vw;
  }

  .tcp-step-content h4 {
    font-size: 4vw;
    text-align: center;
    font-weight: 700;
  }

  .tcp-step-content p {
    font-size: 3.5vw;
    margin: 0vw 0vw 2vw 0vw;
    text-align: center;
    font-weight: 600;
  }

  .tcp-step-image img {
    margin: 0vw;
  }

  .tcp-step {
    flex-direction: column;
  }

  .tcp-steps h3 {
    font-size: 5vw;
  }

  .support-overview,
.support-download {
  flex: 1 1 75%;
  background: linear-gradient(135deg, #222, #333);
  padding: 5vw;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0; /* Start hidden for animation */
  animation: fadeInUp 1s forwards;
  margin: 0vw 0vw 4vw 0vw;
}

.support-overview .btn-call, .support-download .btn-download {
  font-size: 3vw;
}

  /* =========================================================== */

  .footermain {
    width: 100%;
    padding: 0vw 0vw 0vw 2vw;
  }

  .FooterLeft {
    width: 35%;
  }

  .FooterRight {
    width: 65%;
    gap: 3vw;
  }

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

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

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

  .footer-column a {
    font-size: 2vw;
  }

  .footer-column h3 {
    font-size: 3vw;
    margin: 0vw 0vw 0vw 0vw;
    padding: 0vw;
  }

  .footer-column li {
    margin: 0vw 0vw 0vw 0vw;
    padding: 0vw;
    height: 4vw;
  }
}
