:root {
  --radius: 0.75rem;
  --background: #ffffff;
  --foreground: #1a2340;
  --card: #ffffff;
  --primary: #e8a317;
  --primary-foreground: #1a2340;
  --secondary: #f8f6f2;
  --muted-foreground: #6b7280;
  --border: #e8eaef;
  --navy: #1a2340;
  --navy-foreground: #fafafa;
}

/* Buttons */
.btn-gradient {
  background: linear-gradient(to right, #fbbf24, #f97316);
  color: var(--navy);
  font-weight: 500;
  border: none;
  border-radius: 50rem;
  box-shadow: 0 10px 30px -10px rgba(232, 163, 23, 0.55);
  transition: opacity 0.2s, transform 0.2s;
}

.btn-gradient:hover,
.btn-gradient:focus {
  color: var(--navy);
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px rgba(232, 163, 23, 0.55);
}

.btn-outline-light-custom {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--navy-foreground);
  font-weight: 500;
  border-radius: 50rem;
  transition: background 0.2s;
}

.btn-outline-light-custom:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--navy-foreground);
}


/* Section badges */
.section-badge {
  display: inline-block;
  border-radius: 50rem;
  background: #fcaf1b;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #231F20;
}

.section-title {
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
}

/* Features */

.feature-card {
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2rem 2.5rem;
  box-shadow: 0 2px 4px rgba(26, 35, 64, 0.05), 0 14px 40px rgba(26, 35, 64, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(26, 35, 64, 0.08), 0 24px 54px rgba(26, 35, 64, 0.14);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.tone-amber .feature-icon {
  background: #fef3c7;
  color: #d97706;
}

.tone-sky .feature-icon {
  background: #e0f2fe;
  color: #0284c7;
}

.tone-emerald .feature-icon {
  background: #d1fae5;
  color: #059669;
}

.tone-violet .feature-icon {
  background: #ede9fe;
  color: #7c3aed;
}

.tone-rose .feature-icon {
  background: #ffe4e6;
  color: #e11d48;
}

.tone-indigo .feature-icon {
  background: #e0e7ff;
  color: #4f46e5;
}

.feature-title {
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  color: var(--navy);
  margin-top: 1.5rem;
}

.feature-body {
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 48rem;
  margin-top: 1rem;
}

.feature-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-family: 'Roboto Regular';
  color: var(--navy);
}

.feature-bullet i {
  color: #10b981;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  transform: translateY(-5px);
}

/* FAQ */
#faq .container {
  max-width: 56rem;

}

.faq-item {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  font-weight: 500;
  color: var(--navy);
  transition: background 0.2s;
}

.faq-question:hover {
  background: rgba(248, 246, 242, 0.6);
}

.faq-question .chevron {
  flex-shrink: 0;
  color: var(--muted-foreground);
  transition: transform 0.3s;
}

.faq-item.active .faq-question .chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Videos */

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, #fef3c7, #fffbeb);
  border: 1px solid #fde68a;
  overflow: hidden;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.video-thumb:hover {
  transform: scale(1.01);
}

.video-play-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  box-shadow: 0 1px 2px rgba(26, 35, 64, 0.04), 0 8px 30px rgba(26, 35, 64, 0.08);
  transition: transform 0.2s;
  font-size: 1.5rem;
  color: #d97706;
  position: absolute;
}

.video-thumb:hover .video-play-btn {
  transform: scale(1.1);
}

.video-duration {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: white;
  background: rgba(26, 35, 64, 0.8);
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
}

.video-title {
  font-weight: 500;
  color: var(--navy);
  font-size: 1.125rem;
  margin-top: 1rem;
}

/* CTA */
.section-cta {
  background: rgba(248, 246, 242, 0.6);
}

.cta-card {
  position: relative;
  border-radius: 1.5rem;
  background: var(--navy);
  color: var(--navy-foreground);
  overflow: hidden;
  padding: 2.5rem 4rem;
  text-align: center;
}

.cta-glow-1 {
  position: absolute;
  right: -8rem;
  top: -8rem;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.3);
  filter: blur(48px);
  pointer-events: none;
}

.cta-glow-2 {
  position: absolute;
  left: -5rem;
  bottom: -5rem;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: rgba(251, 146, 60, 0.2);
  filter: blur(48px);
  pointer-events: none;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 50rem;
  background: rgba(251, 191, 36, 0.2);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #fde68a;
}

.cta-title {
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin-top: 1rem;
}

.cta-subtitle {
  font-size: 1.125rem;
  color: rgba(250, 250, 250, 0.8);
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  background: var(--background);
}

.footer-brand-logo {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.375rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 500;
  display: grid;
  place-items: center;
  font-size: 0.875rem;
}

.footer-link {
  color: var(--muted-foreground);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--navy);
}

@media (max-width: 767.98px) {
  .feature-card {
    padding: 1.5rem;
  }

  .cta-card {
    padding: 2rem 1.5rem;
  }

  section#videos {
    padding-top: 0px !important;
  }
}

/* ************** */
/* New Changes */

@media (max-width: 575.98px) {
  .row.mt-5.g-4.g-lg-5 {
    gap: 1.25rem;
  }
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .feature-title {
    font-size: 1.4rem;
  }

  .hero-section .container {
    padding-top: 40px;
    padding-bottom: 80px;
  }

  .upgrade-btn {
    margin-bottom: 10px !important;
    margin-right: 0 !important;
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Navbar Active State */
.navbar-nav .nav-link.active {
  color: #f8fafc;
}

@media (min-width: 280px) {
  .support-bg {
    background: url('/wp-content/themes/tally/assets/images/yellow-mobile-banner-bg.svg');
    background-repeat: no-repeat;
    background-position-y: -8rem;
    background-size: cover;
  }

  .prime7Logo,
  .thoughtfullyBuiltLogo {
    width: 9rem;
  }

  .bannerImg4 {
    width: 21rem;
  }

  .leadgenform select {
    width: 100%;
    height: 38px;
    border: 1px solid #dcdcdc;
  }
}

@media (min-width: 425px) {

  .prime7Logo,
  .thoughtfullyBuiltLogo {
    width: 11rem;
  }
}

@media (min-width: 576px) {
  .support-bg {
    background-position-y: -25rem;
  }

  .prime7Logo,
  .thoughtfullyBuiltLogo {
    width: 13rem;
  }

  .col-sm-6.col-lg-4 {
    margin-bottom: 1rem;
  }
}

@media (min-width: 768px) {
  .support-bg {
    background-position-y: -45rem;
  }
}

@media (min-width: 1024px) {
  .support-bg {
    background-image: url('/wp-content/themes/tally/assets/images/tally-software-service/hero-section.svg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100%;
    width: 100%;
    height: 37rem;
  }

  .support-bg {
    background-position: center bottom;
    background-position-y: -2rem;
  }

  .prime7Logo,
  .thoughtfullyBuiltLogo {
    width: 11.5rem;
  }
}

@media (min-width: 1200px) {
  .support-bg {
    background-position-y: -3rem;
  }

  .prime7Logo,
  .thoughtfullyBuiltLogo {
    width: 14rem;
  }

  .support-bg {
    background-position-y: -5rem;
  }
}


@media (min-width: 1366px) {
  .support-bg {
    background-position-y: -11rem;
  }
}


@media (min-width: 1440px) {
  .support-bg {
    height: 38rem;
  }

  .prime7Logo,
  .thoughtfullyBuiltLogo {
    width: 16rem;
  }
}

@media (min-width: 1536px) {
  .support-bg {
    background-position-y: -10rem;
    height: 39rem;
  }
}

@media (min-width: 1600px) {
  .support-bg {
    background-position-y: -12rem;
    height: 39rem;
  }
}

@media (min-width: 1680px) {
  .support-bg {
    /* height: 600px; */
    height: 39rem;
    background-position-y: -15rem;
  }
}

@media (min-width: 1920px) {
  .support-bg {
    height: 46rem;
  }

  .bannerImg4 {
    width: 27rem;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #ffffff, hsl(45, 40%, 92%), hsl(38, 80%, 80%));
  z-index: 0;
}

.hero-ellipse {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 128px;
  background-color: var(--tally-gold);
  clip-path: ellipse(80% 100% at 50% 100%);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 10;
  padding-top: 80px;
  padding-bottom: 160px;
}

.badge-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  background-color: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--tally-gold);
  animation: pulse 2s infinite;
}

.accordion-header {
  font-size: 1rem;
}

/*.accordion-button {
    padding: 20px 17px!important;
}*/

button:focus {
  outline: none !important;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.badge-text {
  font-size: 14px;
  color: var(--tally-teal);
  font-weight: 500;
}

.hero-title {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--foreground);
}

.form-container {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.form-container a {
  color: #2848C1 !important;
}

.box-selector {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.error-message {
  color: red;
  font-size: 14px;
  margin-top: 5px;
  display: none;
}

.selectbox {
  width: 110px;
  padding: 5px;
  border: 1px solid #EBECF0;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
  background-color: white;
  font-size: 13px;
}

.selectbox:hover,
.selectbox.active {
  background-color: #DCF2FB;
  color: #006EA6;
}

.form-dropdown-container {
  display: none;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .accordion-header {
    font-size: 1.2rem;
  }

  /*.accordion-button {
        padding: 20px 24px!important;
    }*/
}

@media (min-width: 992px) {
  .hero-title {
    font-size: 4rem;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .selectbox {
    width: 80px;
    font-size: 12px;
  }
}

.highlight-box {
  display: inline-block;
  padding: 4px 16px;
  background-color: rgba(245, 158, 11, 0.2);
  border-radius: 8px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.features-list {
  margin: 2rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(15, 23, 42, 0.8);
  font-size: 14px;
}

.feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--tally-gold);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.btn-primary-custom {
  background-color: var(--tally-gold);
  color: var(--foreground);
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s;
}

.btn-primary-custom:hover {
  background-color: rgba(245, 158, 11, 0.9);
  transform: translateY(-2px);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--foreground);
  border: 1px solid rgba(15, 23, 42, 0.2);
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s;
}

.video-card {
  width: 100%;
  border-radius: 6px;
  transition: transform .25s ease;
}


/* --- */

.video-thumb {
  position: relative;
}


.video-card,
.topic-card {
  width: 100%;
  border-radius: 8px;
}

nav .dropdown-menu a .nav-icon,
.splash {
  position: relative;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(../images/icons/icon-bg-yellow.svg);
  background-position: center;
  background-size: cover;
}

.splashImg {
  width: 50px !important;
  height: 60px !important;
  background-position-y: -1px !important;
  background-repeat: no-repeat;
}

.featuresIcon {
  width: 2.5rem;
}

.brandLineImg {
  width: 1.8rem;
}