* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    width: 100%;
    height: 100%;
    background: #fcf7f7;
    font-family: 'Montserrat', sans-serif;
}


/* Nav and header styles */
header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
}

.logo {
    color: #9a0001;
    font-size: 26px;
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
}

.logo-img img {
    height: auto;
    width: 100%;
    max-width: 40px;
    display: block;
}



nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}

nav ul li a {
    font-size: 20px;
    color: black;
    text-decoration: none;
    transition: all 0.45s;
    line-height: 50px;
    padding: 0 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;

}



nav ul li {
    width: auto;
    height: 50px;
    transition: background-position-x 0.9s linear;
    text-align: center;
    margin: 5px 15px;
}

nav ul li:hover {
    background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsYW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjM5MHB4IiBoZWlnaHQ9IjUwcHgiIHZpZXdCb3g9IjAgMCAzOTAgNTAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDM5MCA1MCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZDk0ZjVjIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNMCw0Ny41ODVjMCwwLDk3LjUsMCwxMzAsMGMxMy43NSwwLDE4Ljc0LTM4Ljc3OCw0Ni4xNjgtMTkuNDE2QzE5Mi42NjksNDYuNSwyNDMuNjAzLDQ3LjU4NSwyNjAsNDcuNTg1YzMxLjgyMSwwLDEzMCwwLDEzMCwwIi8+PC9zdmc+");
    animation: line 1s;
}

nav ul li:hover a {
    color: #9a0001;
}

nav ul li:not(:last-child) {
    margin-right: 30px;
}

@keyframes line {
    0% {
        background-position-x: 390px;
    }
}

/* Dropdown Container */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    text-decoration: none;
    color: black;
    font-weight: 300;
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.45s;
    line-height: 50px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropbtn::after {
    content: '▼';
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropbtn::after {
    transform: rotate(180deg);
}

/* Dropdown Content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 950px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    z-index: 1000;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 25px;
    border: 1px solid #e5e7eb;
    margin-top: 0px;
}

/* Create a bridge between button and dropdown */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 10px;
    background: transparent;
    z-index: 1001;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeInUp 0.3s ease;
}

/* Keep dropdown visible when hovering over the dropdown itself */
.dropdown-content:hover {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Dropdown Grid Layout */
.dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

/* Category Sections */
.dropdown-category {
    display: flex;
    flex-direction: column;
}

.category-title {
    font-size: 16px;
    font-weight: 700;
    color: #9a0001;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #9a0001;
    padding-bottom: 8px;
}

/* Subcategory Styling */
.subcategory {
    margin-bottom: 20px;
}

.subcategory-title {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e5e7eb;
}

/* Tools Row */
.tools-row {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 6px;
    align-items: stretch;
}

/* Tool Items - Card Style */
.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 6px;
    border-radius: 6px;
    text-decoration: none;
    color: #374151;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 11px;
    height: 70px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.tool-item:hover {
    background-color: #9a0001;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(154, 0, 1, 0.2);
}

/* Tool Icons */
.tool-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 14px;
    flex-shrink: 0;
    margin-bottom: 6px;
    position: relative;
    overflow: hidden;
}

.converter-icon {
    background: linear-gradient(135deg, #9a0001, #cc0002);
    color: white;
}

.tool-icon-bg {
    background: linear-gradient(135deg, #6c757d, #9ca3af);
    color: white;
}

.tool-item:hover .tool-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Image-based Professional Icons */
.icon-excel-to-pdf {
    background-image: url('../images/excel.png');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-pdf-to-excel {
    background-image: url('../images/PDF.avif');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-excel-to-word {
    background-image: url('../images/Excelword.avif');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-excel-to-ppt {
    background-image: url('../images/docs.avif');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-pdf-to-word {
    background-image: url('../images/Doc_conv.avif');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-pdf-to-ppt {
    background-image: url('../images/docs1.avif');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Additional converter icons */
.icon-docx-to-pdf::before {
    content: '📄';
    font-size: 16px;
}

.icon-docx-to-xlsx::before {
    content: '📊';
    font-size: 16px;
}

.icon-docx-to-ppt::before {
    content: '📋';
    font-size: 16px;
}

.icon-pptx-to-pdf::before {
    content: '📄';
    font-size: 16px;
}

.icon-pptx-to-xlsx::before {
    content: '📊';
    font-size: 16px;
}

.icon-pptx-to-docx::before {
    content: '📝';
    font-size: 16px;
}

.icon-merge-docx::before {
    content: '⧉';
    font-size: 18px;
}

.icon-merge-pptx::before {
    content: '⧉';
    font-size: 18px;
}

.icon-merge-xlsx::before {
    content: '⧉';
    font-size: 18px;
}

/* PDF Tools - Original Icon Styles */
.icon-merge::before {
    content: '⧉';
    font-size: 20px;
}

.icon-compress::before {
    content: '⇡';
    font-size: 20px;
}

.icon-lock::before {
    content: '🔒';
    font-size: 16px;
}

.icon-sign::before {
    content: '✍';
    font-size: 18px;
}

.icon-edit::before {
    content: '✎';
    font-size: 18px;
}

.icon-organize::before {
    content: '⚏';
    font-size: 20px;
}

/* Fallback text for accessibility */
.icon-excel-to-pdf::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.icon-pdf-to-excel::after {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.icon-excel-to-word::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.icon-excel-to-ppt::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.icon-pdf-to-word::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.icon-pdf-to-ppt::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.icon-merge::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.icon-compress::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.icon-lock::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.icon-sign::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.icon-edit::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.icon-organize::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.icon-docx-to-pdf::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.icon-docx-to-xlsx::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.icon-docx-to-ppt::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.icon-pptx-to-pdf::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.icon-pptx-to-xlsx::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.icon-pptx-to-docx::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.icon-merge-xlsx::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.icon-merge-docx::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.icon-merge-pptx::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.icon-merge-pptx::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.tool-name {
    font-weight: 600;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-content.show {
    display: block;
}

/* View other tools link */
.view-other-tools-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border-top: 1px solid #e9ecef;
    transition: color 0.3s ease;
}

.view-other-tools-link:hover {
    color: #9a0001;
}


/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: #9a0001;
    color: white;
    border: none;
    font-size: 24px;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.get-start {
    background: #9a0001;
    color: white;
    border: none;
    font-weight: bolder;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
    white-space: nowrap;
    text-decoration: none;
    margin: 10px 0 0 0;
}

.get-start:hover {
    background: linear-gradient(135deg, black, #dd4b39);
}


/* Welcome Modal for Demo */
.welcome-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.welcome-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.welcome-modal.show .modal-content {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: rgba(154, 0, 1, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 10;
    transition: 0.3s ease;
}

.close-btn:hover {
    background: rgba(154, 0, 1, 1);
}

.modal-header {
    padding: 30px 30px 20px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.modal-body {
    padding: 0;
}

.modal-footer {
    padding: 20px 30px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

.arcade-container {
    position: relative;
    padding-bottom: calc(51.61458333333333% + 41px);
    height: 0;
    width: 100%;
}

.arcade-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color-scheme: light;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 20px;
        max-width: calc(100vw - 40px);
    }

    .modal-header {
        padding: 20px 20px 15px;
    }

    .modal-footer {
        padding: 15px 20px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .close-btn {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

/* This is the hero section */
.hero_section {
    padding-bottom: 6rem;
    padding-top: 3rem;

}

.hero_container {
    padding-left: 2rem;
    padding-right: 2rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero_text_container {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    line-height: normal;
}

.hero_text {
    width: 66.666667%;
    text-align: center;
    max-width: 900px;
}

.hero_main_header {
    --tw-text-opacity: 1;
    color: rgb(0 0 0 / var(--tw-text-opacity, 1));
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.hero_text h1 {
    font-size: 6rem;
    line-height: 1;
    margin-top: 2.5rem;
    font-weight: 500;
}

.hero_main_text { 
    --tw-text-opacity: 1;
    color: rgb(0 0 0 / var(--tw-text-opacity, ));
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.75rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto; /* Center the text block */
}

.start_exploring_container {
    display: flex;
    justify-content: center; /* Center-aligned instead of left-aligned */
    align-items: center;
    margin-top: 3rem;
    width: 100%;
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center-aligned instead of left-aligned */
    gap: 0.75rem;
    width: 100%; /* Full width to ensure proper centering */
}

.explore_btn {
    color: rgb(255 255 255);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5rem;
    padding: 0.75rem 2rem;
    background-color: #9a0001;
    border: none;
    border-radius: 9999px;
    text-decoration: none !important;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    display: inline-block;
}

.explore_btn:hover {
    background-color: #770000;
}

.view-other-tools {
    color: black !important;
    /* Use !important to override conflicting styles */
    font-weight: 500;
    font-size: 1rem;
    margin-left: 0 !important; /* Removed left margin for proper centering */
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 0.5rem;
    /* Add some top margin for spacing */
}

.view-other-tools:hover {
    text-decoration: none;
    color: #770000 !important;
}


.hero_img_container {
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: none;
}

.hero_img {
    max-width: 36rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* The carousal */
/* Container & Responsive Padding */
.tools_container {
    padding: 60px 5rem;
    margin: 0 auto;
    max-width: 80rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 2.8rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background-color: #9a0001;
    border-radius: 9999px;
}

.section-title {
    font-size: 3rem;
    line-height: 3.45rem;
    font-weight: 600;
}


.highlight {
    color: #9a0001;
}

/* Carousel Container */
.carousel-wrapper {
    position: relative;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 0 auto;
    max-width: 56rem;
    overflow: visible !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.carousel-wrapper:hover .carousel-button {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4),
                0 0 0 6px rgba(154, 0, 1, 0.4);
}

/* Carousel theming */
.carousel-green {
    background: linear-gradient(135deg, #e8f5e8, #f0fff0);
}

.carousel-orange {
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
}

.carousel-blue {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.carousel-red {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
}

.carousel-purple {
    background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
}

.carousel-yellow {
    background: linear-gradient(135deg, #fefce8, #fef3c7);
}

.carousel-decoration {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    opacity: 0.3;
    z-index: 1;
}

.carousel-green .green-decoration {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    right: -30px;
    top: -30px;
}

.carousel-orange .orange-decoration {
    background: linear-gradient(135deg, #fb923c, #f97316);
    right: -30px;
    top: -30px;
}

.carousel-blue .blue-decoration {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    right: -30px;
    top: -30px;
}

.carousel-red .red-decoration {
    background: linear-gradient(135deg, #f87171, #9a0001);
    right: -30px;
    top: -30px;
}

.carousel-purple .purple-decoration {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    right: -30px;
    top: -30px;
}

.carousel-yellow .yellow-decoration {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    right: -30px;
    top: -30px;
}

/* Carousel Buttons */
.carousel-button {
    position: absolute;
    top: 50%;
    width: 4rem;
    height: 4rem;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #9a0001 !important;
    color: #fff !important;
    border: 3px solid #fff !important;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 
                0 0 0 4px rgba(154, 0, 1, 0.3) !important;
    z-index: 999 !important;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 1 !important;
    visibility: visible !important;
}

.carousel-button:hover {
    background: #000 !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7),
                0 0 0 6px rgba(154, 0, 1, 0.5) !important;
}

.prev-button {
    left: -3rem !important;
    transform: translateY(-50%) !important;
}

.next-button {
    right: -3rem !important;
    transform: translateY(-50%) !important;
}

.prev-button:hover {
    transform: translateY(-50%) scale(1.1) !important;
}

.next-button:hover {
    transform: translateY(-50%) scale(1.1) !important;
}

.carousel-button svg {
    width: 2rem;
    height: 2rem;
    stroke-width: 3;
    stroke: #fff !important;
    fill: none !important;
}

/* Slides */

.tool-slide {
    display: none !important;
    visibility: hidden !important;
}

.tool-slide.active {
    display: block !important;
    visibility: visible !important;
}

/* More specific selector to ensure no conflicts */
.tools-carousel .tool-slide {
    display: none !important;
    visibility: hidden !important;
}

.tools-carousel .tool-slide.active {
    display: block !important;
    visibility: visible !important;
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Slide Layout */
.tool-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    transition: opacity 0.3s ease;
}


.tool-info,
.tool-action {
    width: 100%;
}


.tool-info {
    margin-bottom: 1.5rem;
    padding-right: 2rem;
}



/* Text Elements */
.tool-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #9a0001;
}

.tool-description {
    font-size: 1.125rem;
    line-height: 1.75rem;
    margin-bottom: 1.5rem;
    color: #4a5568;
}

.tool-subdescription {
    font-size: 1rem;
    line-height: 1.5rem;
    margin-bottom: 1.5rem;
    color: #718096;

}

/* Card inside slide */
.card {
    background-color: #f8f8f8;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #9a0001;
}    .card-features {
        margin-bottom: 1rem;
    }

.features-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.features-list {
    list-style-type: disc;
    padding-left: 1.25rem;
    color: #4a5568;
}

.features-list li {
    margin-top: 0.25rem;
}

/* Action Button */
.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background-color: #9a0001;
    border: 1px solid transparent;
    border-radius: 9999px;
    transition: background-color 0.3s;
    text-decoration: none;
}

.action-button:hover {
    background-color: #000;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    transition: background-color .2s ease;
    position: relative; /* For the touch target */
}

.carousel-dot.active,
.carousel-dot:hover {
    background: #9a0001;
    transform: scale(1.2);
    box-shadow: 0 0 5px rgba(154, 0, 1, 0.5);
}

/* =====  FAQ FOOTER LINK  ===== */
#faqs {
    padding: 2.5rem 0 4rem 0;
}

.faqs-container {
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 80rem;
}

.faqs-header {
    text-align: center;
}

.faqs-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-bottom: 2.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-align: center;
    color: white;
    text-transform: uppercase;
    border-radius: 9999px;
    background-color: #9a0001;
}

.faqs-subtitle {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.625;
    color: black;
}

.faqs-content {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
}

.faq-item {
    transition: all 0.2s;
    background-color: white;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.faq-item:hover {
    background-color: #f9fafb;
}

.faq-toggle {
    display: none;
}

.faq-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 1rem;
    cursor: pointer;
    margin: 0;
}

.faq-question {
    flex: 1;
    font-size: 1.125rem;
    font-weight: 600;
    color: black;
    text-align: left;
    margin-right: 1rem;
}

.faq-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #9ca3af;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-answer {
    padding: 0 1rem 0 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out, padding 0.5s ease-in-out;
}

.faq-answer p {
    color: #374151;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    padding-bottom: 1.25rem;
}


.faq-answer a {
    color: #2563eb;
    transition: all 0.2s;
    text-decoration: none;
}

.faq-answer a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Toggle states */
.faq-toggle:checked + .faq-label + .faq-answer {
    max-height: 500px;
    opacity: 1;
}

.faq-toggle:checked + .faq-label .faq-icon {
    transform: rotate(180deg);
}

.faqs-footer-text {
    text-align: center;
    font-size: 1rem;
    margin-top: 2.25rem;
    color: black;
}

.faqs-footer-link {
    font-weight: 500;
    color: #2563eb;
    transition: all 0.2s;
    text-decoration: none;
}

.faqs-footer-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.faqs-footer-link:focus {
    color: #1d4ed8;
}

/* Trust us style */
.trust-us {
    padding: 60px 20px;
    text-align: center;
}

.trust-us .container {
    max-width: 1200px;
    margin: 0 auto;
}



.highlight-heading {
    font-size: 3rem;
    font-weight: 700;
    color: #1a202c;
    margin: 1.5rem 0;
}

.highlight-text {
    font-weight: 600;
    color: #9a0001;
}

div .custom-formatting-heading {
    font-size: 3rem;
    font-weight: 600;
    color: #000000;
    line-height: 1.2;
    font-family: "Montserrat", sans-serif;
    margin-bottom: 30px;

}

/* Highlighted word */
.custom-formatting-highlight {
    font-weight: 600;
    color: #9a0001;
}


.feature-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 80px;
    text-align: left;
    position: relative;
    padding: 40px;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-red {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
}

.feature-redd {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
}

.feature-decoration {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    opacity: 0.3;
    z-index: 1;
}

.feature-redd .redd-decoration {
    background: linear-gradient(135deg, #f87171, #9a0001);
    right: -30px;
    bottom: -30px;
}

.feature-red .red-decoration {
    background: linear-gradient(135deg, #f87171, #9a0001);
    left: -30px;
    bottom: -30px;
}

/* Remove margin from the last row */
.feature-row:last-child {
    margin-bottom: 0;
}

.feature-image {
    flex: 0 0 400px;
    margin-left: 30px;
}

.feature-image img {
    width: 350px;
    height: auto;
    border-radius: 30px;
}

.feature-content {
    flex: 1;
    font-size: 1.1em;
    line-height: 1.6;
    color: #9a0001;
}

.feature-content p {
    margin-bottom: 15px;
    color: black;
}

.feature-content a {
    color: #007bff;
    text-decoration: none;
}

.feature-row-1 {
    margin-top: 4rem;
}


/* Adjust margins for the second row */
.feature-row-2 .feature-image {
    margin-left: 30px;
    margin-right: 30px;

}

.feature-row-4 .feature-image {

    margin-right: 30px;
}



/* Trust us style End*/

/* =====  HOW-TO EXCEL GUIDES STYLES  ===== */
.how-to-guides {
    padding: 80px 20px;
    background: #fcf7f7;
}

.how-to-container {
    max-width: 1200px;
    margin: 0 auto;
}

.how-to-header {
    text-align: center;
    margin-bottom: 60px;
}

.how-to-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.how-to-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

.guide-card {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.guide-content {
    flex: 1;
    z-index: 2;
    position: relative;
}

.guide-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
    font-family: 'Montserrat', sans-serif;
}

.guide-steps {
    margin-bottom: 25px;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 15px;
}

.step-number {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.step p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.guide-link {
    color: #9a0001;
    text-decoration: none;
    font-weight: 600;
}

.guide-link:hover {
    text-decoration: underline;
}

.guide-footer {
    margin-top: 20px;
}

.guide-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #9a0001;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.guide-cta:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.guide-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    opacity: 0.3;
    z-index: 1;
}

/* Color schemes for different guides */
.guide-green {
    background: linear-gradient(135deg, #e8f5e8, #f0fff0);
}

.green-decoration {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    right: -50px;
    top: -50px;
}

.guide-orange {
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
}

.orange-decoration {
    background: linear-gradient(135deg, #fb923c, #f97316);
    left: -50px;
    top: -50px;
}

.guide-blue {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.blue-decoration {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    right: -50px;
    bottom: -50px;
}

.guide-red {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
}

.red-decoration {
    background: linear-gradient(135deg, #f87171, #9a0001);
    left: -50px;
    bottom: -50px;
}

.guide-purple {
    background: linear-gradient(135deg, #f3e8ff, #ede9fe);
}

.purple-decoration {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    right: -50px;
    top: -50px;
}

.guide-yellow {
    background: linear-gradient(135deg, #fefce8, #fef3c7);
}

.yellow-decoration {
    background: linear-gradient(135deg, #facc15, #eab308);
    left: -50px;
    bottom: -50px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .how-to-guides {
        padding: 60px 15px;
    }
    
    .how-to-title {
        font-size: 2rem;
    }
    
    .how-to-subtitle {
        font-size: 1rem;
    }
    
    .guide-card {
        padding: 25px;
        margin-bottom: 40px;
    }
    
    .guide-title {
        font-size: 1.5rem;
    }
    
    .guide-decoration {
        width: 150px;
        height: 150px;
    }
    
    .step {
        gap: 12px;
    }
    
    .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }
}


/* Hidden state */
label {
    display: fex;
    align-items: left;
    justify-content: space-between;
    cursor: pointer;
    width: 100%;
}

label span {
    flex: 1;
    text-align: left;
}



label svg {
    transition: transform 0.3s ease;
}

#about h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

#about .bg-lime-400 {
    width: 90%;
    /* Reduce width to 90% */
    max-width: 600px;
    /* Reduce max-width to 600px */
    padding: 2rem;
    margin: 2rem auto;
}

#about .bg-lime-400 p.text-2xl {
    font-size: 1.75rem;
    /* Slightly reduce font size */
    color: #9a0001;
}

#about .bg-lime-400 ul.list-disc {
    column-count: 2;
    font-size: 0.9rem;
    color: #9a0001;
    /* Reduce list font size */
}

#about .bg-lime-400 ul.list-disc li {
    margin-bottom: 0.5rem;
    color: #9a0001;
}

#about .bg-lime-400 a {
    padding: 0.6rem 1.2rem;
    /* Adjust button padding */
    font-size: 0.9rem;
    /* Reduce button font size */
}

#results-section {
    background: white;
    padding: 80px 20px;
    text-align: center;
}

.results-container {
    max-width: 1200px;
    margin: 0 auto;
}

.results-title {
    font-size: 1.5rem;
    color: #9a0001;
    margin-bottom: 10px;
}

.results-subtitle {
    font-size: 2.25rem;
    font-weight: 550;
    margin-bottom: 40px;
    color: #9a0001;
}

.results-grid {
    display: flex;
    margin-bottom: 30px;
}

.result-item {
    background: #f0ece4;
    /* Dark background for boxes */
    color: white;
    padding: 30px;
    margin: 20px 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 8px rgb(127, 128, 127);
    transition: transform 0.3s ease-in-out;
    width: 270px;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Color schemes for result items */
.result-green {
    background: linear-gradient(135deg, #e8f5e8, #f0fff0);
}

.result-orange {
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
}

.result-blue {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.result-red {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
}

.result-decoration {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0.3;
    z-index: 1;
}

.result-green .green-decoration {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    right: -20px;
    top: -20px;
}

.result-orange .orange-decoration {
    background: linear-gradient(135deg, #fb923c, #f97316);
    left: -20px;
    top: -20px;
}

.result-blue .blue-decoration {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    right: -20px;
    bottom: -20px;
}

.result-red .red-decoration {
    background: linear-gradient(135deg, #f87171, #9a0001);
    left: -20px;
    bottom: -20px;
}


.result-value {
    font-size: 22px;
    /* Slightly reduced font size */
    font-weight: 800;
    /* Adjust font weight */
    margin-bottom: 8px;
    /* Adjust spacing */
    color: #9a0001;
}

.result-description {
    font-size: 0.9rem;
    /* Slightly reduced font size */
    color: black;
    line-height: 1.4;
    /* Improve readability with line spacing */
}

.results-disclaimer {
    font-size: 0.8rem;
    color: #9a0001;
    font-style: italic;
}

/*extra*/
.cursor {
    width: 30px;
    /* Smaller cursor */
    height: 30px;
    background: white;
    /* Green color */
    border-radius: 70%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    will-change: transform, background-color;
    /* Performance hint */
    transition: background-color 0.3s ease;
    /* Smooth color transition */
}

.cursor.pulse {
    animation: smoothPulse 2s infinite ease-in-out;
}


#myBtn {
    /* Professional scroll-to-top button */
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 20px;
    right: 10px;
    z-index: 10;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
    background-color: #fcf7f7;
    opacity: 0.7;
}

#myBtn::before {
    content: '';
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid #9a0001;
    transition: all 0.3s ease;
}

ul {
    color: #9a0001;
    font-weight: 600;
}



#prev-tool,
#next-tool {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

#prev-tool {
    left: -6px;
}

#next-tool {
    right: -6px;
}

/* Force carousel buttons to be visible */
#prev-tool, #next-tool {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    z-index: 9999 !important;
    background: #9a0001 !important;
    border: 3px solid #ffffff !important;
    border-radius: 50% !important;
    width: 4rem !important;
    height: 4rem !important;
    color: white !important;
}

#prev-tool {
    left: -3.5rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

#next-tool {
    right: -3.5rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

#prev-tool svg, #next-tool svg {
    stroke: white !important;
    fill: none !important;
    width: 1.5rem !important;
    height: 1.5rem !important;
}

/* Footer Style */
.footer {
    padding: 50px 20px;
    background-color: #9a0001;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    position: relative;
    overflow: hidden;
}

/* Footer theming */
.footer-red {
    background: linear-gradient(135deg, #9a0001, #fef2f2);
    background: linear-gradient(135deg, #9a0001 0%, #cc0002 50%, #fef2f2 100%);
}

.footer-red::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f87171, #dc2626);
    border-radius: 50%;
    opacity: 0.2;
    left: -50px;
    top: -50px;
    z-index: 1;
}

.footer-red::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    border-radius: 50%;
    opacity: 0.3;
    right: -30px;
    bottom: -30px;
    z-index: 1;
}

/* ===== Container & grid ===== */
.footer_container {
    max-width: 80rem;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.footer_grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    row-gap: 4rem;
    column-gap: 3rem;
    align-items: start;
}


/* ===== Branding ===== */

.footer_brand {
    grid-column: span 2;
}

.footer_brand_name {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.footer_brand_text {
    color: #000;
}

.footer_description {
    margin-top: 0.75rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #fff;
}

/* ===== Newsletter form ===== */

.footer_newsletter {
    grid-column: span 2;
    padding-left: 2rem;
}

.footer_form {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
}

.footer_input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    height: 3rem;
}

.footer_button {
    width: 50%;
    height: 3rem;
    margin-top: 1rem;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.footer_button:hover {
    color: #fff;
    background: #1e293b;
}

/* ===== Section titles ===== */
.footer_section_title {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}


/* ===== Link lists ===== */
.footer_list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
}

.footer_list li {
    margin-bottom: 1rem;

}

.footer_link {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.2s;
}

.footer_link:hover {
    color: #000;
}



/* ===== Divider & copyright ===== */
.footer_hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    margin: 2.5rem 0;
}

.footer_copy {
    margin: 0;
    font-size: 0.875rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}


@media(max-width: 1165px) {
    .logo {
        margin: 0 0 15px 0;
    }

    nav ul {
        margin-bottom: 15px;
    }

    nav ul li {
        width: auto;
        text-align: center;

    }


    .hero_container {
        padding-left: 1rem;
        padding-right: 1rem;
        margin-bottom: 6rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero_text {
        width: 66.666667%;
        text-align: center;
        max-width: 900px;
    }

    .hero_text h1 {
        font-size: 3.75rem;


    }

    .hero_main_text {
        margin-top: 1.5rem;
    }



    .hero_img {
        max-width: 32rem;
    }


    .trust-us {
        padding: 80px 20px;
        text-align: center;
    }


    .trust-us h2 {
        font-size: 2.5em;
        margin-bottom: 20px;
        color: #9a0001;
        font-family: "Montserrat", sans-serif;
        font-weight: 700;
    }

    div .custom-formatting-heading {
        font-size: 2.5em;
        font-weight: 600;
        color: #000000;
        line-height: 1.2;
        font-family: "Montserrat", sans-serif;

    }

    div .highlight-heading {
        font-size: 3rem;
        font-weight: 700;
        color: #1a202c;
        margin: 1.5rem 0;
    }

    .highlight-text {
        font-weight: 600;
        color: #9a0001;
    }

    .circle-effect::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-55%, -48%);
        /* Center the circle */
        width: 120%;
        /* Adjust size as needed */
        height: 120%;
        /* Adjust size as needed */
        border: 3px solid rgb(111, 64, 26);
        /* Adjust color and thickness */
        border-radius: 50%;
        z-index: -1;
        /* Place the circle behind the text */
    }

    .feature-row {
        flex-direction: column;
        align-items: center;
        margin-bottom: 80px;
    }

    .feature-row .feature-content {
        order: 1;
    }

    #feature1img {
        order: 2;
    }

    #feature3img {
        order: 2;
    }

    .feature-image {
        flex: 0 0 100px;
        margin-left: 0px;
    }

    .feature-row-2,
    .feature-row-4 {
        flex-direction: column-reverse;
    }

    .feature-content,
    .feature-image {
        width: 100%;
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .feature-image img {
        max-width: 80%;
        margin: 0 auto;
        display: block;
    }

    .results-grid {
        flex-direction: column;
        align-items: center;
    }

    .tools-carousel .tool-slide {
        padding: 15px;
    }


}


@media (max-width: 900px) {
    header {
        flex-direction: column;
        padding: 15px;
    }

    .logo {
        margin: 0 0 15px 0;
    }

    nav ul {
        margin-bottom: 15px;
    }

    nav ul li {
        width: auto;
        text-align: center;

    }

    .hero_container {
        padding-left: 1rem;
        padding-right: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero_text {
        width: 70.666667%;
        text-align: center;
        max-width: 900px;
    }

    .hero_text h1 {
        font-size: 3rem;
        line-height: 2.5rem;
        margin-top: 2.5rem;
    }

    .hero_main_text {
        margin-top: 1.5rem;
    }

    .hero_img_container {
        position: relative;
        margin-top: 1rem;
    }

    .hero_img {
        max-width: 32rem;
    }

    .get-start {
        margin: 10px 0 0 0;
    }

    /* Trust us styling */
    .trust-us {
        padding: 0px 2px;
        text-align: center;
    }

    .trust-us h2 {
        font-size: 2.5em;
        margin-bottom: 20px;
        color: #9a0001;
        font-family: "Montserrat", sans-serif;
        font-weight: 700;
    }

    div .custom-formatting-heading {
        font-size: 2.5em;
        font-weight: 600;
        color: #000000;
        line-height: 1.2;
        font-family: "Montserrat", sans-serif;

    }

    div .highlight-heading {
        font-size: 2.5rem;
        font-weight: 700;
        color: #1a202c;
        margin: 1.5rem 0;
    }

    .highlight-text {
        font-weight: 600;
        color: #9a0001;
    }

    .circle-effect::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-55%, -48%);
        /* Center the circle */
        width: 120%;
        /* Adjust size as needed */
        height: 120%;
        /* Adjust size as needed */
        border: 3px solid rgb(111, 64, 26);
        /* Adjust color and thickness */
        border-radius: 50%;
        z-index: -1;
        /* Place the circle behind the text */
    }

    .feature-row {
        flex-direction: column;
        align-items: center;
        margin-bottom: 80px;
    }


    .feature-row .feature-content {
        order: 1;
    }

    #feature1img {
        order: 2;
    }

    #feature3img {
        order: 2;
    }

    .feature-image {
        flex: 0 0 100px;
        margin-left: 0px;
    }

    .feature-row-2,
    .feature-row-4 {
        flex-direction: column-reverse;
    }

    .feature-content,
    .feature-image {
        width: 100%;
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .feature-image img {
        max-width: 80%;
        margin: 0 auto;
        display: block;
    }

    .results-grid {
        flex-direction: column;
        align-items: center;
    }

    .tools-carousel .tool-slide {
        padding: 15px;
    }



}




/* Tablet adjustments */
@media (max-width: 792px) {
    header {
        flex-direction: column;
        padding: 15px;
    }

    .logo {
        margin: 0 0 15px 0;
        font-size: 26px;
    }

    nav {
        width: 100%;
        display: none;
    }

    nav.mobile-nav-open {
        display: block;
    }

    nav ul {
        margin-bottom: 15px;
        justify-content: center;
    }

    nav ul li {
        width: auto;
        text-align: center;
    }

    .hero_container {
        padding-left: 1rem;
        padding-right: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero_text {
        width: 100%;
        text-align: center;
        max-width: 900px;
    }

    .hero_text h1 {
        font-size: 3rem;
        line-height: 2.5rem;
        margin-top: 2.5rem;
    }

    .hero_main_text {
        margin-top: 1.5rem;
    }

    .hero_img_container {
        position: relative;
        margin-top: 1rem;
    }

    .hero_img {
        max-width: 20rem;
    }


    .get-start {
        margin: 10px 0 0 0;
    }

    /* Trust us styling */
    .trust-us {
        padding: 0px 2px;
        text-align: center;
    }

    .trust-us h2 {
        font-size: 2em;
        margin-bottom: 20px;
        color: #9a0001;
        max-width: 100%;
    }


    .tool-content {
        flex-direction: column;
    }

    .section-title {
        font-size: 1.8rem;
        line-height: 2.45rem;
    }

    .faqs {
        margin-top: 3rem;
    }

    .faqs_container {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .faqs_badge {
        font-size: 1rem;
    }

    .faq_toggle:checked+.faq_question+.faq_answer {
        max-height: 236px;
    }

    .faq-list {
        margin-left: 20px;
        margin-right: 20px;
    }

    .carousel-wrapper {
        padding: 1rem;
    }

    .action-button {
        padding: 0.55rem 1rem;
    }

    .circle-effect::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-48%, -48%);
        width: 120%;
        height: 120%;
        border: 3px solid rgb(111, 64, 26);
        border-radius: 50%;
        z-index: -1;
    }

    .feature-image {
        flex: 0 0 100px;
        margin-left: 0px;
    }

    .feature-content span {
        font-size: 1.8rem !important;
    }

    .feature-row {
        margin-bottom: 50px;
    }

    .results-grid {
        flex-direction: column;
        align-items: center;
    }

    #prev-tool,
    #next-tool {
        width: 30px;
        height: 30px;
        top: auto;
        bottom: -40px;
        transform: none;
    }

    #prev-tool {
        left: calc(50% - 40px);
    }

    #next-tool {
        right: calc(50% - 40px);
    }

    .button-container {
        align-items: center !important;
        /* Force center alignment on mobile */
        text-align: center !important;
        width: 100%;
    }

    .explore_btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.5rem;
    }

    .view-other-tools {
        font-size: 0.9rem;
        margin-left: 0 !important;
        text-align: center !important;
        display: block;
        width: 100%;
    }

    /* Footer Style */
    .footer_container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .footer_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer_newsletter {
        padding-left: 0px;
    }

}

/* ============= SUBTLE HERO ENHANCEMENTS ============= */

/* Background bubbles - very subtle */
.hero-bg-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(154, 0, 1, 0.05), rgba(154, 0, 1, 0.02));
}

.bubble-1 {
    width: 60px;
    height: 60px;
    top: 15%;
    left: 8%;
}

.bubble-2 {
    width: 80px;
    height: 80px;
    top: 70%;
    right: 10%;
}

.bubble-3 {
    width: 45px;
    height: 45px;
    top: 25%;
    right: 25%;
}

.bubble-4 {
    width: 90px;
    height: 90px;
    bottom: 25%;
    left: 15%;
}

.bubble-5 {
    width: 55px;
    height: 55px;
    top: 5%;
    right: 5%;
}

.bubble-6 {
    width: 70px;
    height: 70px;
    bottom: 5%;
    right: 30%;
}

@keyframes float-bubble {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.2;
    }
    25% {
        transform: translateY(-15px) scale(1.1);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-8px) scale(0.9);
        opacity: 0.2;
    }
    75% {
        transform: translateY(-12px) scale(1.05);
        opacity: 0.2;
    }
}

/* Typing animation for "Conversions" only */
.typing-text-conversions {
    overflow: hidden;
    border-right: 3px solid #9a0001;
    white-space: nowrap;
    animation: typing-conversions 0.5s steps(9, end) 0.75s forwards, blink-caret 0.8s step-end infinite 1.5s;
    width: 0;
    display: inline-block;
    color: #9a0001;
    margin-bottom: -10px;
}

@keyframes typing-conversions {
    from {
        width: 0;
    }
    to {
        width: 11ch;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: #9a0001;
    }
}

/* Hide bubbles on mobile for performance */
@media (max-width: 768px) {
    .hero-bg-bubbles {
        display: none;
    }
    
    .typing-text-conversions {
        animation: none;
        border-right: none;
        width: auto;
        white-space: normal;
    }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .bubble {
        animation: none;
    }
    
    .typing-text-conversions {
        animation: none;
        border-right: none;
        width: auto;
    }
}

/* Tablet-specific carousel improvements */
@media (min-width: 481px) and (max-width: 768px) {
    .carousel-wrapper {
        padding: 1.75rem 1.5rem;
        margin: 0 2rem;
    }
    
    .tool-content {
        gap: 1.5rem;
    }
    
    .tool-info {
        padding-right: 1rem;
        width: 50%;
    }
    
    .tool-action {
        width: 50%;
    }
    
    .tool-title {
        font-size: 2rem;
    }
    
    .tool-description {
        font-size: 1rem;
    }
    
    .carousel-button {
        width: 3.5rem !important;
        height: 3.5rem !important;
    }
    
    .prev-button {
        left: -2rem !important;
    }
    
    .next-button {
        right: -2rem !important;
    }
}

@media (max-width: 480px) {
    /* FAQ Section Header Improvements */
    .faqs_header {
        padding: 10px 0.2rem;
    }
    
    .faqs_badge {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
        margin-bottom: 1rem;
    }
    
    .faqs_subhead {
        font-size: 1.3rem;
        line-height: 1.4;
        padding: 0 0.5rem;
    }
    
    /* Carousel Navigation & Layout Improvements */
    .carousel-wrapper {
        padding: 1rem 0.75rem;
        margin: 0 0.5rem;
        max-width: 100%;
        width: calc(100% - 1rem);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
    }
    
    /* Set maximum height for carousel content */
    .carousel-wrapper {
        max-height: fit-content;
    }

    /* Ensure images don't make cards too tall */
    .tool-slide img {
        max-height: 120px;
        width: auto;
    }

    /* Make sure card doesn't grow too tall */
    .card {
        max-height: fit-content;
        overflow: hidden;
    }
    
    /* Improve carousel tool-content layout for mobile */
    .tool-content {
        flex-direction: column;
        align-items: center;
    }
    
    .tool-info {
        padding-right: 0;
        margin-bottom: 0.5rem;
        width: 100%;
    }
    
    .tool-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    .tool-description {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
        text-align: center;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .tool-subdescription {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    /* Card adjustments for mobile */
    .card {
        padding: 0.6rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
        width: 100%;
        margin-bottom: 0.3rem;
        border-radius: 8px;
    }
    
    .card-title {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .features-title {
        text-align: center;
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .features-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        list-style-type: none;
        padding-left: 0;
        gap: 0.25rem;
        margin-bottom: 0.75rem;
    }
    
    .features-list li {
        margin: 0;
        padding: 0.15rem 0.3rem;
        background-color: rgba(154, 0, 1, 0.1);
        border-radius: 3px;
        font-size: 0.75rem;
        display: inline-block;
    }
    
    /* Display feature list horizontally for better space usage */
    .features-list {
        margin-top: 0.25rem;
    }
    
    /* Carousel navigation buttons */
    .carousel-button {
        width: 2rem !important;
        height: 2rem !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25), 
                    0 0 0 2px rgba(154, 0, 1, 0.15) !important;
        border-width: 2px !important;
    }
    
    .carousel-button svg {
        width: 1rem;
        height: 1rem;
    }
    
    .prev-button {
        left: -0.6rem !important;
    }
    
    .next-button {
        right: -0.6rem !important;
    }
    
    /* Enhance touch area for carousel buttons */
    .carousel-button::after {
        content: '';
        position: absolute;
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
        border-radius: 50%;
        z-index: -1;
    }
    
    /* Make carousel dots more compact and touchable */
    .carousel-dots {
        margin-top: 0.75rem;
        gap: 0.5rem;
    }
    
    .carousel-dot {
        width: 8px;
        height: 8px;
        margin: 0 3px;
        position: relative;
    }
    
    .carousel-dot::after {
        content: '';
        position: absolute;
        top: -6px;
        left: -6px;
        right: -6px;
        bottom: -6px;
        border-radius: 50%;
    }
    
    /* Improve action button for mobile */
    .action-button {
        padding: 0.5rem 1.25rem;
        font-size: 0.85rem;
        margin-top: 0;
        width: auto;
        min-width: 60%;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Adjust decoration bubble size for mobile */
    .carousel-decoration {
        width: 60px;
        height: 60px;
        right: -10px;
        top: -10px;
        opacity: 0.15;
    }
    
    /* Make tool slides more compact */
    .tools-carousel .tool-slide {
        padding: 5px;
    }
}

/* ===== TOOLS DISPLAY SECTION ===== */
.tools-display-container {
    padding: 80px 20px 60px 20px;
    background: #fcf7f7;
    margin-top: 30px;
}

.tools-display-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.tools-display-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #9a0001;
    margin-bottom: 50px;
    font-family: 'Montserrat', sans-serif;
}

/* Category Headers */
.tools-category {
    margin-bottom: 50px;
}

.tools-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 30px;
    text-align: left;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

.tools-subcategory {
    margin-bottom: 40px;
}

.tools-subcategory-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #9a0001;
    margin-bottom: 20px;
    text-align: left;
    position: relative;
    padding-left: 15px;
}

.tools-subcategory-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #9a0001;
    border-radius: 2px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tool-card {
    background: white;
    border-radius: 12px;
    padding: 20px 18px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    text-align: left;
    border: 1px solid #f0f0f0;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.tool-card.most-used {
    border: 2px solid #9a0001;
    background: linear-gradient(135deg, #ffffff 0%, #fef7f7 100%);
}

.tool-card.coming-soon {
    opacity: 0.7;
    background: #f8f9fa;
}

.tool-card.coming-soon:hover {
    transform: translateY(-4px);
}

.tool-badge {
    position: absolute;
    top: -6px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tool-badge.popular {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
}

.tool-badge.coming-soon-badge {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
}

.tool-icon-large {
    width: 48px;
    height: 48px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.tool-icon-large svg {
    width: 32px !important;
    height: 32px !important;
}

.tool-card:hover .tool-icon-large {
    background: #9a0001;
    transform: scale(1.05);
}

.tool-card:hover .tool-icon-large svg {
    stroke: white;
}

.tool-card.coming-soon .tool-icon-large {
    background: #e5e7eb;
}

.tool-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
}

.tool-card.coming-soon .tool-title {
    color: #6b7280;
}

.tool-description {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tool-card.coming-soon .tool-description {
    color: #9ca3af;
}

.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9a0001;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.tool-link:hover {
    color: #7a0001;
    text-decoration: none;
    transform: translateX(3px);
}

/* Get Notified Button for Coming Soon Tools */
.get-notified-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #6b7280;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    z-index: 10;
    text-decoration: none;
}

.get-notified-btn:hover {
    background: #7a0001;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(154, 0, 1, 0.3);
}

.get-notified-btn:active {
    transform: translateY(0);
}

/* Ensure coming soon cards have relative positioning for absolute button */
.tool-card.coming-soon {
    position: relative;
}