:root {
    --primary-color: #d3e718;
    --secondary-color: #fa1010;
    --text-color: #e8e8e8;
    --font-family: 'Questrial', sans-serif;
    --background: rgb(13, 10, 10);
    --bg-card: rgb(21, 17, 17);
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: var(--font-family)
}

body {
    padding: 0;
    margin: 0;
    font-family: var(--font-family);
    background: var(--background);
    color: var(--text-color);
}

/*navbar*/
.nav-item {
    display: flex;
    align-items: center;
    margin: 0 5px;
}

.nav-item .nav-link {
    color: var(--text-color) !important;
}

header {
    background: var(--background);
    padding: 5px 10px;
}

header .btn-primary {
    margin: 0 !important;
}

.hero .btn-primary {
    background: var(--background);
}

.hero .btn-primary:hover {
    background: var(--text-color);
    color: var(--background);
}

.btn-primary {
    color: var(--text-color);
    background: #ff0000;
    padding: 20px 25px;
    border-radius: 50px;
    margin-bottom: 20px;
    display: inline-block;
    border: none;
    min-width: 210px;
    border: 1px solid transparent;
    font-weight: bold;
}

.btn-primary:hover {
    background: var(--bg-card);
    color: var(--text-color);
    border: 1px solid var(--primary-color);
}

h1 {
    font-size: 60px;
    font-weight: bolder;
    line-height: 55px;
    margin-bottom: 20px;
}

/**/
.hero {
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero svg {
    position: absolute;
    z-index: -1;
    top: -50px;
    width: 100%;
    right: 0;
    background: red;
}

.img-fluid {
    position: relative;
    bottom: -40px;
}


/*Accordion*/

.accordion {
    --bs-accordion-bg: none;
    --bs-accordion-border-color: none;
}

.accordion-item {
    background: none;
    border: none;
}

.accordion-item {
    color: var(--text-color);
}

.accordion-button:not(.collapsed) {
    --bs-accordion-active-bg: var(--secondary-color);
    color: var(--text-color);
    border-radius: 10px;
    border: none;
    font-weight: bolder;
}

.grid-card {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto;
    grid-gap: 10px;
}

.carte-container {
    background: var(--bg-card);
    padding: 20px 15px 15px 15px;
    border-radius: 10px;
    border: 1px solid var(--bg-card);
    transition: all 0.3s ease;
}

.header-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.header-card h5 {
    font-weight: bolder;
    margin: 0;
}

.header-card span {
    background: var(--primary-color);
    color: var(--background);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: bold;
}

.carte-note {
    margin-bottom: 20px;
    color: #e76b18;
}

.carte-container .btn-primary {
    background: var(--secondary-color);
    color: var(--text-color);
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 50px;
    font-weight: bold;
    min-width: 100%;
    border: none;
    margin: 0 !important;
}

.carte-body {
    margin-bottom: 10px;
    min-height: 160px;
}

.carte-container:hover {
    background: var(--background);
    border: 1px solid var(--primary-color);
}

.carte-container:hover .btn-primary {
    background: var(--bg-card);
    color: var(--primary-color);
}

.carte-container:hover .btn-primary:hover {
    background: var(--primary-color);
    color: var(--background);
}

.carte-container:hover .header-card span {
    background: var(--bg-card);
    color: var(--primary-color);
}

.carte-container:hover .carte-note {
    color: var(--primary-color);
}

.img-container img {
    width: 100%;
    height: auto;
    transform: scale(1.4);
}

.img-container video {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.dark {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 10px;
}

.alert h5 {
    color: var(--secondary-color);
    font-weight: bolder;
}

/* Top 10 Section Styles */
.top-10-section {
    margin: 60px 0;
}



h2 {
    font-size: 48px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 15px;
    width: 65%;
    margin: 45px 0;
    /* text-align: center; */
}

.section-subtitle {
    font-size: 18px;
    color: #a0a0a0;
    font-style: italic;
}

.top-10-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.tool-card .row>[class*='col-']>div {
    /* background: linear-gradient(145deg, var(--bg-card), #1a1a1a); */
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.tool-card .row>[class*='col-'] .content {
    padding: 19px;
    background: none;
}

.img-container {
    width: 100%;
    height: 550px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.img-container img {
    width: 60%;
    height: auto;
    border-radius: 15px;
}

.container {
    width: 80% !important;
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tool-rank {
    background: linear-gradient(135deg, var(--primary-color), #b8d916);
    color: var(--background);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
}

.tool-image {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    overflow: hidden;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tool-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tool-card:hover .tool-image img {
    transform: scale(1.1);
}

.tool-card {
    margin: 55px 0;
}

.tool-header h3 {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-color);
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.tool-badge {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tool-badge.premium {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: var(--background);
}

.tool-badge.popular {
    background: linear-gradient(135deg, var(--secondary-color), #ff4444);
    color: white;
}

.tool-badge.interactive {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: var(--background);
}

.tool-badge.free {
    background: linear-gradient(135deg, var(--primary-color), #9bc53d);
    color: var(--background);
}

.tool-badge.customizable {
    background: linear-gradient(135deg, #8a2be2, #9932cc);
    color: white;
}

.tool-badge.simple {
    background: linear-gradient(135deg, #4169e1, #6495ed);
    color: white;
}

.tool-badge.basic {
    background: linear-gradient(135deg, #696969, #808080);
    color: white;
}

.tool-content p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.tips-section {
    background: rgba(211, 231, 24, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
}

.tips-section h5 {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.pros-cons {
    margin-top: 30px;
}

.pros-cons-header h5 {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.pros,
.cons {
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pros h6 {
    color: #00ff88;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 16px;
}

.cons h6 {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 16px;
}



.premium-tool {
    background: var(--bg-card);
    position: relative;
}

ul {
    list-style-type: none;
    padding: 0;
}

h3 {
    margin-bottom: 30px;
    font-weight: bolder;
    margin-top: 0;
}

.content p {
    margin-bottom: 20px;
}

.content ul li {
    position: relative;
    margin-bottom: 10px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.bi-check2-circle {
    color: var(--primary-color);
    margin-right: 6px;
    font-size: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tool-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .tool-header h3 {
        font-size: 24px;
        min-width: auto;
    }

    .pros-cons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .grid-card {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        height: 600px;
    }

    .hero .col-12:nth-child(2) {
        display: none;
    }

    .header-card span {
        display: none;
    }

    .carte-body {
        height: auto;
    }

    .tool-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .tool-header h3 {
        text-align: right;
    }
}

#faqAccordion h2 {
    width: 100%;
    margin: 0;
}

#faqAccordion {
    color: var(--text-color);
    margin: 40px 0;
    width: 90%;
    margin: 0 auto;
}

#faq {
    margin: 20px 0;
}

.faq-title {
    text-align: center;
    margin: 0 auto;
    margin-bottom: 40px;
    width: 85%;
}

.accordion-button {
    color: var(--text-color);
    background: var(--bg-card);
    margin: 15px 0;
    padding: 20px;
    border-radius: 15px;
}

.conlusion {
    background: #d2e71816;
    padding: 20px;
    border-radius: 10px;
    margin: 40px 0;
    border: 1px solid var(--primary-color);
}

.conlusion h5 {
    color: var(--primary-color);
}

footer {
    height: 110px;
    background: var(--bg-card);
    display: flex;
    align-items: center;
}

footer p {
    margin: 0;
}

.mobile-only {
    display: none;
    position: fixed;
    bottom: 5px;
    left: 10px;
    right: 10px;
}

.navbar-brand {
    font-weight: bold;
    font-size: 34px;
}