* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1,
h2,
h3 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    color: #1a1616;
}

h1 {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.35;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.3px;
    line-height: 1.45;
}

ul {
    padding-left: 0rem !important;
}

p {
    font-size: 17px;
    line-height: 1.7;
    font-weight: 400;
    color: #4a4a4a;
    margin-bottom: 10px;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #fff9f0 0%, #fff4e6 100%);
    min-height: 100vh;
}

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


/* Header Styles */

.mb-n5 {
    margin-bottom: -60px;
}

header {
    background: linear-gradient(90deg, #ffffff 0%, #f17a03 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
}

.logo img {
    max-height: 40px;
    /* adjust as needed */
    width: auto;
    /* keeps image proportion correct */
    height: auto;
    background: transparent;
    /* removes any white bg if transparent */
    object-fit: contain;
    mix-blend-mode: multiply;
    /* hides white bg if logo has it */
    display: block;
}


/* Make header responsive */

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo i {
    font-size: 28px;
    color: #ffffff;
}

.logo h1 {
    font-weight: 700;
    font-size: 24px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 16px;
}

nav a:hover {
    color: #fff2e6;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
    transition: all 0.3s linear;
}

.cta-button {
    background: #FF8C00;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-button:hover {
    background: #e67e00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/* Breadcrumb */

.breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #FF8C00;
    text-decoration: none;
}

.breadcrumb span {
    color: #999;
    margin: 0 10px;
}


/* Hero Section */

.hero {
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    margin: 0 auto;
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #1a1616;
}

.hero p {
    font-size: 18px;
    margin: 0 auto 30px;
    color: #666;
    max-width: 700px;
}

.search-box {
    max-width: 600px;
    margin: 30px auto;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 50px;
    border: 1px solid #ddd;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: #FF8C00;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
}


/* Tools Grid */

.tools-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
    color: #1a1616;
    position: relative;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Desktop: 4 cols */
    gap: 25px;
}

.tool-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.18s ease;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
    position: relative;
    display: flex;
    /* icon + content side-by-side */
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.tool-content h3 {
    font-size: 20px;
    margin: 0;
    color: #1a1616;
    display: inline-block;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.tool-content p {
    color: #666;
    margin-top: 8px;
    color: #666;
    margin-top: 8px;
    font-size: 14px;
    /* show full description for clarity; don't clamp */
}


/* Hide CTA entirely — the whole card is the link and arrow indicates clickability */

.tool-button {
    display: none !important;
}

.tool-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 6px;
}

.tool-badge {
    background: rgba(255, 140, 0, 0.12);
    color: var(--primary-color, #FF8C00);
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.view-all-btn {
    font-weight: 600;
    font-size: 16px;
    color: #FF8C00;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.view-all-btn:hover {
    color: #e67e00;
}

.view-all-btn i {
    font-size: 22px;
}


/* Ad Spaces */

.ad-section {
    padding: 30px 0;
    text-align: center;
}

.ad-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    border: 1px dashed #ccc;
}

.ad-label {
    display: block;
    text-align: center;
    color: #888;
    font-size: 12px;
    margin-bottom: 5px;
    text-transform: uppercase;
}


/* Content Section */

.content-section {
    padding: 60px 0;
    background: white;
}

.content-section h2 {
    text-align: start;
    margin-bottom: 15px;
    color: #1a1616;
}

.content-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 10px;
    /* max-width: 900px; */
    margin-left: auto;
    margin-right: auto;
}

.content-section ul {
    padding-left: 17px !important;
}


/* Categories Section */

.categories {
    padding: 60px 0;
    background: #fffaf0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.category {
    display: flex;
    align-items: flex-start;
    text-align: left;
    padding: 12px 14px;
    gap: 12px;
    border-radius: 10px;
    background: #faf3eb;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    overflow: visible;
}

.category:hover {
    transform: none;
    background: #faf3eb;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.035);
    border-color: rgba(255, 140, 0, 0.03);
}

.category-logo {
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fffaf0;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(255, 140, 0, 0.06);
    transform: translateY(0);
}

.category i {
    font-size: 18px;
    color: #FF8C00;
    margin: 0;
}

.category-content h3 {
    font-size: 18px;
    margin: 0 0 6px;
    color: #FF8C00;
    line-height: 1.3;
    font-weight: 700;
}

.category-content p {
    color: #666;
    font-size: 12px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Related Tools Section - Modern & Unique */

.related-tools-section {
    background: linear-gradient(135deg, #ffffff 0%, #fff9f0 100%);
    border-radius: 16px;
    padding: 2rem;
    margin: 2.5rem 0;
    border: 1px solid #ffe4cc;
    box-shadow: 0 8px 32px rgba(255, 140, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.related-tools-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FF8C00, #FFA94D, #FF8C00);
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.related-tools-section h3 {
    color: #1a1616;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.related-tools-section h3 i {
    color: #FF8C00;
    font-size: 1.3rem;
}

.related-tool-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 8px;
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 1rem;
    height: 100%;
}

.related-tool-item:hover {
    background: linear-gradient(135deg, #fb9d2b 0%, #feb566 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.2);
}

.related-tool-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff9f0;
    border-radius: 6px;
    color: #FF8C00;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.related-tool-item:hover .related-tool-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.related-tool-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: inherit;
    transition: color 0.3s ease;
}

.related-tool-item:hover .related-tool-text {
    color: white;
}


/* FAQ Section */

.faq {
    padding: 60px 0;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.faq-question {
    background: #fff9f0;
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #FF8C00;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-answer {
    background: white;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #333;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 20px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}


/* Footer */

footer {
    background: #f8f9fa;
    padding: 50px 0 20px;
    color: #495057;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #e67e00;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: hsl(25, 87%, 52%);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column a:hover {
    color: #e67e00;
    transform: translateX(5px);
}

.footer-column a i {
    margin-right: 8px;
    color: #e67e00;
}

.newsletter-form input {
    padding: 10px;
    width: 100%;
    margin-bottom: 10px;
    border: 1px solid #e67e00;
    border-radius: 4px;
}

.newsletter-form button {
    background: #e67e00;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    width: 100%;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #d17100;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
    font-size: 14px;
}


/* --- Form Styling --- */

form {
    margin-top: 30px;
}

.form-label {
    font-weight: 600;
    color: #333;
}

.input-group-text {
    background: #fff;
    border-right: none;
    color: #FF8C00;
    font-size: 18px;
}

.form-control {
    border-radius: 6px;
    border-left: none;
    padding: 12px;
    transition: 0.3s ease;
    box-shadow: none;
}

.form-control:focus {
    border-color: #FF8C00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2);
}

button.btn-orange {
    background: linear-gradient(90deg, #FF8C00 0%, #FFA94D 100%);
    color: #fff;
    font-size: 18px;
    padding: 14px 40px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s ease;
}

button.btn-orange i {
    margin-right: 8px;
}

button.btn-orange:hover {
    background: linear-gradient(90deg, #e67e00 0%, #ff9e33 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    text-align: center;
    border-radius: 6px;
    padding: 12px;
}

.error {
    color: #e63946;
    font-size: 14px;
    margin-top: 4px;
}

@media (max-width: 768px) {
    button.btn-orange {
        font-size: 16px;
        width: 100%;
    }
}


/* Tool Container */

.tool-content p {
    color: #666;
    margin-top: 8px;
    font-size: 14px;
    /* show full description for clarity; don't clamp */
}


/* Hide CTA entirely — the whole card is the link and arrow indicates clickability */

.tool-button {
    display: none !important;
}

.tool-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 6px;
}


/* Tool Container Base Styles */

.tool-container {
    padding: 40px 0;
    text-align: center;
}

.tool-header {
    text-align: center;
    margin-bottom: 20px;
}

.tool-header h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #1a1616;
    font-weight: 700;
    line-height: 1.2;
}

.tool-header p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
}


/* Input Area */

.input-area {
    margin-bottom: 30px;
}

.url-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 15px;
    transition: border-color 0.3s;
}

.url-input:focus {
    border-color: #FF8C00;
    outline: none;
}

.analyze-btn {
    background: #FF8C00;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.analyze-btn:hover {
    background: #e67e00;
}


/* Results Area */

.results-area {
    display: none;
    margin-top: 30px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.result-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #FF8C00;
}

.result-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #FF8C00;
}

.result-card p {
    color: #495057;
}

.score {
    font-size: 36px;
    font-weight: 700;
    color: #FF8C00;
    text-align: center;
    margin: 20px 0;
}


/* Tabs */

.tabs {
    display: flex;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 500;
    color: #6c757d;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.tab.active {
    color: #FF8C00;
    border-bottom: 2px solid #FF8C00;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}


/* Category Heading */

.category-section {
    margin-bottom: 50px;
}

.category-heading {
    font-size: 28px;
    color: #FF8C00;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 140, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-heading i {
    font-size: 24px;
    color: #FF8C00;
}


/* Responsive Grid: Desktop 3 – Tablet 2 – Mobile 1 */

.vertical-tools-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.vertical-tool-card {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 140, 0, 0.18);
    text-decoration: none;
    color: inherit;
    padding: 0;
}

.vertical-tool-icon {
    background: linear-gradient(135deg, #f59e32, #eda04d);
    width: 65px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    margin: 14px;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 0 8px rgb(194 118 24 / 70%), 0 0 15px rgb(216 137 38 / 50%), 0 0 25px rgb(207 127 30 / 30%);
}

.vertical-tool-content {
    padding: 10px;
    flex-grow: 1;
}

.vertical-tool-content h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1a1616;
    margin: 0;
}

.vertical-tool-content p {
    display: none;
}


/* Responsive Design */

@media (max-width: 992px) {
    .hero h2 {
        font-size: 35px;
    }

    .search-box button {
        padding: 15px 15px;
        font-size: 13px;
    }

    .vertical-tools-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .tool-container {
        padding: 30px 15px;
    }

    .tool-header h1 {
        font-size: 35px;
    }

    .tool-header p {
        font-size: 16px;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 32px;
        line-height: 1.25;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 22px;
    }

    p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .content-section p {
        font-size: 16px;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 53px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 69px);
        background: linear-gradient(90deg, #f17a03 0%, #ffffff 100%);
        transition: left 0.3s ease;
        z-index: 99;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid rgb(246 105 9 / 82%);
    }

    nav ul li a {
        display: block;
        padding: 15px 10px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .related-tools-section {
        padding: 2.5rem;
    }

    .related-tool-item {
        padding: 1.2rem;
    }

    .related-tool-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .related-tool-text {
        font-size: 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-column {
        min-width: 100%;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .tabs {
        flex-wrap: wrap;
    }

    .vertical-tools-list {
        grid-template-columns: 1fr;
    }

    .tool-container {
        padding: 25px 15px;
    }

    .tool-header h1 {
        font-size: 32px;
        margin-bottom: 15px;
        padding: 0 10px;
    }

    .tool-header p {
        font-size: 15px;
        padding: 0 10px;
        line-height: 1.5;
    }

    .mb-n5 {
        margin-bottom: -30px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 26px;
        /* Reduced from 28px */
        text-align: start;
        font-weight: 600;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    h2 {
        font-size: 22px;
        /* Kept same but ensuring weight */
        font-weight: 600;
        margin-bottom: 15px;
    }

    h3 {
        font-size: 19px;
        margin-bottom: 12px;
    }

    p {
        font-size: 15px;
        /* Slightly smaller for mobile */
        line-height: 1.6;
        margin-bottom: 18px;
    }

    .content-section p {
        font-size: 15px;
        line-height: 1.6;
    }

    header {
        padding: 16px 0;
    }

    .logo h1 {
        font-size: 20px;
    }

    .logo img {
        max-height: 32px;
    }

    .hero {
        text-align: start;
    }

    .hero h1 {
        font-size: 29px;
    }

    .search-box button {
        position: relative;
        width: 100%;
        margin-top: 10px;
        border-radius: 50px;
        right: 0;
        top: 0;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .view-all-btn {
        font-size: 15px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 24px;
    }

    .content-section h2 {
        font-size: 23px;
    }

    .section-title {
        font-size: 24px;
    }

    .related-tools-section {
        margin: 1.5rem 0;
        padding: 1.5rem;
        border-radius: 12px;
    }

    .vertical-tool-content h3 {
        font-size: 16px;
    }

    .vertical-tool-content p {
        font-size: 13px;
    }

    .category-heading {
        font-size: 22px;
    }

    .tool-container {
        padding: 20px 10px 30px 10px;
    }

    .popular-tools .tools-header {
        text-align: start;
        justify-content: center !important;
    }

    .tool-header h1 {
        font-size: 23px;
        margin-bottom: 12px;
        padding: 0 5px;
        line-height: 1.3;
    }

    .tool-header p {
        font-size: 14px;
        padding: 0 5px;
        line-height: 1.5;
    }
}


/* Popular tools component */

.popular-tools .tools-header .section-title {
    font-size: clamp(1.4rem, 2vw, 1.75rem);
    font-weight: 800;
    color: #0f1724;
}

.popular-tools .view-all-link {
    font-weight: 700;
    color: #0f1724;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(15, 23, 36, 0.14);
}

.popular-tools .view-all-link:hover {
    color: var(--primary-color, #ff8c00);
    border-color: currentColor;
}

.popular-tools .tools-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 1200px) {
    .popular-tools .tools-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .popular-tools .tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .popular-tools .tools-grid {
        grid-template-columns: 1fr;
    }

    .tool-container {
        text-align: start !important;
    }

    .tool-header {
        text-align: start !important;
    }
}

.popular-tools .tool-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 36, 0.08);
    border-radius: 16px;
    padding: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(12, 20, 40, 0.05);
    display: flex;
    flex-direction: column;
    min-height: auto;
    text-decoration: none;
}

.popular-tools .tool-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color, #ff8c00);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
    z-index: 1;
}

.popular-tools .tool-icon i {
    display: block;
    line-height: 1;
}

.popular-tools .tool-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 100%;
}

.popular-tools .tool-content h3 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    color: #0f1724;
    font-weight: 600;
    letter-spacing: -0.2px;
    width: 100%;
}

.popular-tools .tool-content p {
    margin: 0;

    .logo h1 {
        font-size: 20px;
    }

    .logo img {
        max-height: 32px;
    }

    .hero {
        text-align: start;
    }

    .hero h1 {
        font-size: 32px;
    }

    .search-box button {
        position: relative;
        width: 100%;
        margin-top: 10px;
        border-radius: 50px;
        right: 0;
        top: 0;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .view-all-btn {
        font-size: 15px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 24px;
    }

    .content-section h2 {
        font-size: 23px;
    }

    .section-title {
        font-size: 24px;
    }

    .related-tools-section {
        margin: 1.5rem 0;
        padding: 1.5rem;
        border-radius: 12px;
    }

    .vertical-tool-content h3 {
        font-size: 16px;
    }

    .vertical-tool-content p {
        font-size: 13px;
    }

    .category-heading {
        font-size: 22px;
    }

    .tool-container {
        padding: 20px 10px 30px 10px;
        text-align: start !important;
    }

    .popular-tools .tools-header {
        text-align: start;
    }

    .tool-header h1 {
        font-size: 23px;
        margin-bottom: 12px;
        padding: 0 5px;
        line-height: 1.3;
    }

    .tool-header p {
        font-size: 14px;
        padding: 0 5px;
        line-height: 1.5;
    }
}


/* Popular tools component */

.popular-tools .tools-header .section-title {
    font-size: clamp(1.4rem, 2vw, 1.75rem);
    font-weight: 800;
    color: #0f1724;
}

.popular-tools .view-all-link {
    font-weight: 700;
    color: #0f1724;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(15, 23, 36, 0.14);
}

.popular-tools .view-all-link:hover {
    color: var(--primary-color, #ff8c00);
    border-color: currentColor;
}

.popular-tools .tools-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 1200px) {
    .popular-tools .tools-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .popular-tools .tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .popular-tools .tools-grid {
        grid-template-columns: 1fr;
    }
}

.popular-tools .tool-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 36, 0.08);
    border-radius: 16px;
    padding: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(12, 20, 40, 0.05);
    display: flex;
    flex-direction: column;
    min-height: auto;
    text-decoration: none;
}

.popular-tools .tool-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color, #ff8c00);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
    z-index: 1;
}

.popular-tools .tool-icon i {
    display: block;
    line-height: 1;
}

.popular-tools .tool-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 100%;
}

.popular-tools .tool-content h3 {
    margin: 0 0 8px 0;
    font-size: 1.06rem;
    color: #0f1724;
    font-weight: 800;
    letter-spacing: 0.2px;
    width: 100%;
}

.popular-tools .tool-content p {
    margin: 0;
    color: #4b5563;
    font-size: 0.93rem;
    line-height: 1.45;
}


/* ======================================
   SIMPLE CONTACT FORM STYLES
   ====================================== */

.contact-title {
    text-align: center;
    margin-bottom: 30px;
    color: #1a1616;
    font-size: 32px;
    font-weight: 700;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.contact-form .form-label i {
    color: #FF8C00;
    margin-right: 5px;
}

.contact-form .form-control {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
}

.contact-form .form-control:focus {
    border-color: #FF8C00;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.contact-form .error {
    color: #e63946;
    font-size: 13px;
    margin-top: 5px;
}


/* Responsive */

@media (max-width: 768px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-title {
        padding: 20px 10px 30px 10px;
    }

    .popular-tools .tools-header {
        text-align: start;
        justify-content: center !important;
    }

    .tool-header h1 {
        font-size: 23px;
        margin-bottom: 12px;
        padding: 0 5px;
        line-height: 1.3;
    }

    .tool-header p {
        font-size: 14px;
        padding: 0 5px;
        line-height: 1.5;
    }
}


/* Popular tools component */

.popular-tools .tools-header .section-title {
    font-size: clamp(1.4rem, 2vw, 1.75rem);
    font-weight: 800;
    color: #0f1724;
}

.popular-tools .view-all-link {
    font-weight: 700;
    color: #0f1724;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(15, 23, 36, 0.14);
}

.popular-tools .view-all-link:hover {
    color: var(--primary-color, #ff8c00);
    border-color: currentColor;
}

.popular-tools .tools-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 1200px) {
    .popular-tools .tools-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .popular-tools .tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .popular-tools .tools-grid {
        grid-template-columns: 1fr;
    }
}

.popular-tools .tool-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 36, 0.08);
    border-radius: 16px;
    padding: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(12, 20, 40, 0.05);
    display: flex;
    flex-direction: column;
    min-height: auto;
    text-decoration: none;
}

.popular-tools .tool-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color, #ff8c00);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
    z-index: 1;
}

.popular-tools .tool-icon i {
    display: block;
    line-height: 1;
}

.popular-tools .tool-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 100%;
}

.popular-tools .tool-content h3 {
    margin: 0 0 8px 0;
    font-size: 1.06rem;
    color: #0f1724;
    font-weight: 800;
    letter-spacing: 0.2px;
    width: 100%;
}

.popular-tools .tool-content p {
    margin: 0;
    color: #4b5563;
    font-size: 0.93rem;
    line-height: 1.45;
}


/* ======================================
   SIMPLE CONTACT FORM STYLES
   ====================================== */

.contact-title {
    text-align: center;
    margin-bottom: 30px;
    color: #1a1616;
    font-size: 32px;
    font-weight: 700;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.contact-form .form-label i {
    color: #FF8C00;
    margin-right: 5px;
}

.contact-form .form-control {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
}

.contact-form .form-control:focus {
    border-color: #FF8C00;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.contact-form .error {
    color: #e63946;
    font-size: 13px;
    margin-top: 5px;
}


/* Responsive */

@media (max-width: 768px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-title {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .contact-title {
        font-size: 24px;
    }

    .contact-form .form-control {
        padding: 10px 14px;
        font-size: 14px;
    }
}


/* Remove hover effects from popular-tools section only */

.popular-tools .tool-card:hover {
    transform: none !important;
    box-shadow: 0 10px 30px rgba(12, 20, 40, 0.05) !important;
}


/* Responsive: stack icon above text on very small screens */

@media (max-width: 576px) {
    .category {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .category-logo {
        transform: translateY(0);
        margin-bottom: 8px;
    }
}

.category:focus {
    outline: 2px solid rgba(255, 140, 0, 0.25);
    outline-offset: 3px;
}

/* Mobile Typography Adjustments */
@media (max-width: 768px) {
    p {
        font-weight: 500 !important;
        color: #2c2c2c !important;
        font-size: 20px !important;
    }

    h1,
    h2,
    h3 {
        font-weight: 800 !important;
        line-height: 1.4 !important;
    }
}