/* Custom CSS for TallyPrime 7.0 Landing Page */

:root {
    --tally-teal: #0d9488;
    --tally-gold: #f59e0b;
    --primary-bg: #1e293b;
    --accent-bg: #f1f5f9;
    --accent-foreground: #0f172a;
    --foreground: #0f172a;
    --muted-foreground: #64748b;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
}

/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--foreground);
}

/* Header Styles */
.bg-primary-custom {
    background-color: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background-color: var(--accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-weight: bold;
    font-size: 14px;
    color: var(--accent-foreground);
}

.brand-text {
    font-weight: bold;
    font-size: 18px;
    color: #f8fafc;
}

.newFeatureslist li::marker {
    color: #169acb;
}

.navbar-nav .nav-link {
    color: rgba(248, 250, 252, 0.8);
    font-size: 14px;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #f8fafc;
}

.btn-accent-custom {
    background-color: var(--accent-bg);
    color: var(--accent-foreground);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-accent-custom:hover {
    background-color: #e2e8f0;
    transform: translateY(-1px);
}

/* 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: 800;
    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);
}
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;
    }
}

.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: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-outline-custom:hover {
    background-color: rgba(15, 23, 42, 0.05);
    color: var(--foreground);
}

/* Fade Up Animation */
.fade-up {
    animation: fadeUp 0.6s ease-out forwards;
    opacity: 0;
}

/*.accordion-button::after {
    background-image: url('/wp-content/themes/tally/assets/images/icons/icon-plus.svg') !important;
    background-repeat: no-repeat;
}

.accordion-button:not(.collapsed)::after {
    background-image: url('/wp-content/themes/tally/assets/images/icons/icon-minus.svg') !important;
    background-repeat: no-repeat;
}

.accordion-button:not(.collapsed) {
    box-shadow: none !important;
}*/

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features Section */
.features-section {
    background-color: #ffffff;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    /*max-width: 32rem;*/
    margin: 0 auto;
}

.feature-card {
    margin-bottom: 6rem;
}

@media (min-width: 768px) {
    .feature-card {
        margin-bottom: 8rem;
    }
}

.feature-icon-box {
    display: inline-flex;
    padding: 12px;
    border-radius: 16px;
    background-color: var(--tally-teal);
    color: #ffffff;
}

.feature-icon-box i {
    font-size: 24px;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--foreground);
    line-height: 1.3;
}

@media (min-width: 768px) {
    .feature-title {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    .feature-title {
        font-size: 1.6rem;
    }
}

.feature-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--foreground);
}

.list-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--tally-gold);
    flex-shrink: 0;
}

.feature-image-wrapper {
    position: relative;
}

.feature-image-glow {
    position: absolute;
    inset: 0;
    background-color: #ddf2fb;
    opacity: 0.2;
    filter: blur(40px);
    transform: scale(0.9);
    transition: opacity 0.5s;
}

.feature-image-wrapper:hover .feature-image-glow {
    opacity: 0.3;
}

.feature-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: #ddf2fb;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.feature-image img {
    width: 100%;
    aspect-ratio: 4/3;
    /*object-fit: cover;*/
    transition: transform 0.7s;
}

/*.feature-image-wrapper:hover .feature-image img {
    transform: scale(1.05);
}*/

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 148, 136, 0.1), transparent);
    pointer-events: none;
}

.feature-decoration {
    position: absolute;
    width: 96px;
    height: 96px;
    border-radius: 16px;
    background-color: var(--tally-gold);
    opacity: 0.3;
    z-index: -1;
}

.feature-decoration-right {
    right: -16px;
    bottom: -16px;
}

.feature-decoration-left {
    left: -16px;
    bottom: -16px;
}

/* Videos Section */
.videos-section {
    background-color: rgba(241, 245, 249, 0.5);
}

.video-card {
    cursor: pointer;
}

.video-thumbnail {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.video-card:hover .video-thumbnail {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.video-thumbnail img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.5s;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(30, 41, 59, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s;
}

.video-card:hover .play-button {
    transform: scale(1);
}

.play-button i {
    font-size: 28px;
    color: var(--accent-foreground);
    margin-left: 4px;
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: rgba(30, 41, 59, 0.8);
    color: #f8fafc;
    font-size: 12px;
    font-weight: 500;
}

.video-title {
    font-weight: 600;
    color: var(--foreground);
    transition: color 0.3s;
    font-size: 1rem;
}

.video-card:hover .video-title {
    color: var(--tally-teal);
}

/* FAQ Section */
.faq-section {
    background-color: #ffffff;
}

.accordion-item {
    background-color: var(--card-bg);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s;
}

.accordion-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    background-color: transparent;
    border: none;
    padding: 20px 24px;
    /*font-weight: 600;*/
    color: var(--foreground);
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: #006ea6 !important;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.2s;
}

.font-weight-600 {
    font-weight: 600 !important;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 0 24px 20px 24px;
    color: var(--muted-foreground);
    font-size: 14px;
    line-height: 1.6;
}

/* Footer */
.footer-section {
    background-color: var(--primary-bg);
    color: #f8fafc;
}

.footer-text {
    color: rgba(248, 250, 252, 0.6);
    font-size: 14px;
}

.footer-link {
    color: rgba(248, 250, 252, 0.6);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #f8fafc;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .feature-title {
        font-size: 1.5rem;
    }

    .hero-section .container {
        padding-top: 40px;
        padding-bottom: 80px;
    }
}

/* 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;
    }
}

@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: 35rem;
    }

    .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;
    }
}