:root {
    --primary-color: #e63947;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --card-hover-shadow: 0 10px 20px rgba(230, 57, 71, 0.15);
}

.site-header{
position:relative;
z-index:1030;
background:#fff;
}


/* =========================================
   GLOBAL WEBSITE LAYOUT (ADD HERE)
========================================= */

*,
*::before,
*::after{
 box-sizing:border-box;
}


/* Global Smooth Scroll */
html{
scroll-behavior:smooth;
}

body{
 margin:0;
 background:#f6f8fc;
 color:#222;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}


body[data-bs-theme="dark"]{
 background:#0f1115;
 color:#fff;
}

img{
 max-width:100%;
 display:block;
}

html{
 scroll-behavior:smooth;
}

/* Container Safety */

.container{
 max-width:1200px;
}

/* Global Card Base */

.card{
 border-radius:14px;
 border:1px solid #e8ecf3;
}



.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 6px;
    cursor: default;
}




.tools__container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:20px;
    width:100%;
    max-width:1400px;
    margin:auto;
    align-items:stretch;
}

.tools__item{
    position:relative;
    background:#fff;
    border-radius:16px;
    padding:20px;
    transition:.3s ease;
    border:1px solid #eee;
    height:100%;
    min-height:220px;
    overflow:hidden;
}

.tools__item a{
    display:flex;
    flex-direction:column;
    height:100%;
    text-decoration:none;
}

.tools__item__icon{
    margin-bottom:15px;
}

.tools__item h3{
    font-size:20px;
    line-height:1.4;
    margin-bottom:10px;
    color:#111;
}

.tools__item__content p{
    font-size:14px;
    line-height:1.7;
    color:#666;
}

.tools{
    padding:40px 20px;
}

.main{
    overflow:hidden;
}

.block{
    clear:both;
    width:100%;
}


















/* =========================================
   HEADER / NAV / COMPONENT STYLES (YOUR EXISTING)
========================================= */

[data-bs-theme="dark"] .card {
    background-color: #2d2d2d;
    border-color: #444;
}

[data-bs-theme="dark"] .text-muted {
    color: #aaa !important;
}

[data-bs-theme="dark"] .bg-light {
    background-color: #2d2d2d !important;
}

[data-bs-theme="dark"] .border-bottom,
[data-bs-theme="dark"] .border-top {
    border-color: #444 !important;
}

/* Header & Navigation */
.site-header {
    position: relative;
    z-index: 1030;
}

.navbar-toggler {
    border: none;
    font-size: 1.25rem;
    padding: 0.5rem;
}

/* Navigation Links */
.nav-link {
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 0 2px;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(230, 57, 71, 0.1);
}

.nav-link.active {
    background-color: var(--primary-color) !important;
    color: white !important;
}

/* Dropdown Menu */
.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: none;
}

[data-bs-theme="dark"] .dropdown-menu {
    background-color: #2d2d2d;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.dropdown-item {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin: 2px 8px;
    width: auto;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(230, 57, 71, 0.1);
}

/* Tool Cards */
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease;
}

.card-link:hover {
    transform: translateY(-5px);
}

.tool-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    border: none;
    height: 230px!important;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(245,245,245,1) 100%);
}

[data-bs-theme="dark"] .tool-card {
    background: linear-gradient(135deg, rgba(45,45,45,0.9) 0%, rgba(35,35,35,1) 100%);
}

.card-hover-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(230, 57, 71, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(40, 167, 69, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 12px;
}

.card-link:hover .card-hover-effects {
    opacity: 1;
}

.tool-card:hover {
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-5px);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(230, 57, 71, 0.1);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.card-link:hover .icon-wrapper {
    transform: scale(1.1);
}

/* Theme Toggle */
.theme-toggle-btn {
    font-size: 1.25rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

[data-bs-theme="dark"] .theme-toggle-btn {
    color: var(--primary-color);
}

.theme-toggle-btn:hover {
    background-color: rgba(230, 57, 71, 0.1);
    transform: scale(1.1);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: var(--secondary-color);
    color: white;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(230, 57, 71, 0.3);
    background-color: var(--primary-color);
}

/* Search Bar */
#searchBar {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#searchResults {
    max-height: 400px;
    overflow-y: auto;
    background: white;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

[data-bs-theme="dark"] #searchResults {
    background: #2d2d2d;
    border: 1px solid #444;
}

.search-result-item {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
}

[data-bs-theme="dark"] .search-result-item {
    border-bottom: 1px solid #444;
}

.search-result-item:hover {
    background-color: rgba(230, 57, 71, 0.1);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-loading {
    padding: 1rem;
    text-align: center;
    color: var(--bs-secondary);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 2rem 0 !important;
    }
    
    .hero-image {
        margin-top: 1.5rem;
    }
    
    #searchBar {
        position: static;
    }
}

@media (min-width: 992px) {
    .navbar-nav {
        width: 100%;
        justify-content: right;
        gap: 1rem;
    }
    
    /* Push theme/search buttons to the right */
    .navbar-collapse .d-flex {
        margin-left: auto;
    }
}





/* =================== SHARER =================== */
    .sharer {
	  display: inline-flex;
	  flex-wrap: wrap;
      margin: 5px;
	}
/*============= SHARER - SVG =============*/ 
	.share-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      margin: 5px;
    }
    
    .fa.fa-share-alt {
		margin-right: 5px;
		color: #00c57b;
	}
	
	.share-text {
		padding: 9px;
	}
    
    .share-button {
      display: flex;
      align-items: center;
      text-decoration: none;
      color: #fff;
      border-radius: 2px;
      transition: background-color 0.3s;
    }
    
    .share-button:hover {
      opacity: 0.8;
    }
    
    .share-button i {
      font-size: 14px;
    }
    
    /* Facebook */
    .share-button.facebook {
      background-color: #3b5998;
      padding: 10px 14px;
    }
    
    /* Twitter */
    .share-button.twitter {
      background-color: #1da1f2;
	  padding: 10px;
    }
    
    /* LinkedIn */
    .share-button.linkedin {
      background-color: #0077b5;
	  padding: 10px;
    }
    
    /* Pinterest */
    .share-button.pinterest {
      background-color: #bd081c;
	  padding: 10px;
    }
    
    /* Instagram */
    .share-button.instagram {
      background-color: #e1306c;
	  padding: 10px;
    }
    
    /* Reddit */
    .share-button.reddit {
      background-color: #ff4500;
	  padding: 10px;
    }
    
    /* WhatsApp */
    .share-button.whatsapp {
      background-color: #25d366;
	  padding: 10px;
    }
    
    /* Telegram */
    .share-button.telegram {
      background-color: #0088cc;
	  padding: 10px;
    }
/*============= SHARER - SVG =============*/

/* ======== SHARER - FontAwesome ======== */
.share-button,
.svg-icon {
    display: inline-block; border-radius: 2px;
}

.share-icon {
    color: #fff;
    padding: 12px 0px;
    font-size: larger;
}

.share-text {
    padding: 12px 3px;
    padding-right: 10px;
}

.share-button {
    margin: 3px 3px;
    border-radius: 2px;
	cursor: pointer;
}

@media only screen and (max-width:500px) {}

.svg-icon svg {
    width: 1em;
    height: 1em;
    margin: 0
}

.svg-icon {
    fill: #fff;
    stroke: none;
    transition: 25ms ease-out;
}

.share-svg {
    fill: #00c57b;
}

.facebook-svg {
    padding: 9px;
    background-color: #3b5998
}

.facebook-svg:hover {
    background-color: #2d4373
}

.twitter-svg {
    padding: 9px;
    background-color: #55acee
}

.twitter-svg:hover {
    background-color: #2795e9
}

.reddit-svg {
    padding: 9px;
    background-color: #ff4500
}

.reddit-svg:hover {
    background-color: #d45324
}

.whatsapp-svg {
    padding: 9px;
    background-color: #25d366
}

.whatsapp-svg:hover {
    background-color: #1da851
}

.telegram-svg {
    padding: 9px;
    background-color: #1394d4
}

.telegram-svg:hover {
    background-color: #016293
}
/* COPY URL */
.link-svg,
.copy-url {
	color:#44475b;
    fill: #44475b;
    padding: 9px;
	background-color: #fff;
    border: 1px solid #44475b;
}

.link-svg:hover,
.copy-url:hover {
    color: #f36333;
	fill: #f36333;
    border: 1px solid #f36333;
}
/* COPY URL */
/* ======== SHARER - FontAwesome ======== */
@media only screen and (max-width:768px) {
    .sharer {
	  font-size: small;
	}
	.share-button {
      font-size: small;
    }
	
}



/* =================== SHARER =================== */




/* ===================================================== */
/* PROPDFTOOL PREMIUM FOOTER */
/* ===================================================== */

.home-footer{
    width:100%;
    background:#1f2230;
    padding:70px 0 25px;
    margin-top:80px;
    position:relative;
    z-index:5;
    overflow:hidden;
}

.home-footer *{
    box-sizing:border-box;
}

/* ========================================= */
/* FOOTER GRID */
/* ========================================= */

.home-footer-container{

    width:100%;
    max-width:1300px;

    margin:0 auto;

    padding:0 20px;

    display:grid !important;

    grid-template-columns:
    repeat(auto-fit,minmax(180px,1fr));

    gap:40px;

    align-items:flex-start;
}

/* ========================================= */
/* FOOTER COLUMNS */
/* ========================================= */

.home-footer-column{
    width:100%;
    min-width:0;

    display:flex;
    flex-direction:column;
}

.home-footer-column h3{

    display:block !important;

    color:#ffffff !important;

    font-size:17px;

    font-weight:700;

    margin-bottom:22px;

    letter-spacing:.5px;

    text-transform:uppercase;

    line-height:1.4;
}

/* ========================================= */
/* FOOTER LINKS */
/* ========================================= */

.home-footer-column a{

    display:block !important;

    color:#c7c9d3 !important;

    text-decoration:none !important;

    margin-bottom:14px !important;

    font-size:14px;

    line-height:1.7;

    transition:all .3s ease;

    word-break:break-word;
}

.home-footer-column a:hover{

    color:#ffffff !important;

    transform:translateX(4px);
}

/* ========================================= */
/* FOOTER BOTTOM */
/* ========================================= */

.home-footer-bottom{

    width:100%;

    max-width:1300px;

    margin:55px auto 0;

    padding:25px 20px 0;

    border-top:1px solid rgba(255,255,255,.12);

    display:flex !important;

    align-items:center;

    justify-content:space-between;

    gap:20px;

    flex-wrap:wrap;
}

.home-footer-bottom-left{

    color:#d2d4dd;

    font-size:14px;

    line-height:1.7;
}

/* ========================================= */
/* SOCIAL ICONS */
/* ========================================= */

.home-footer-social{

    display:flex !important;

    align-items:center;

    gap:14px;

    flex-wrap:wrap;
}

.home-footer-social a{

    width:42px;

    height:42px;

    display:flex !important;

    align-items:center;

    justify-content:center;

    border-radius:12px;

    background:rgba(255,255,255,.08);

    color:#fff !important;

    text-decoration:none !important;

    transition:all .3s ease;
}

.home-footer-social a:hover{

    transform:translateY(-4px);

    background:linear-gradient(
        135deg,
        #667eea,
        #764ba2
    );
}

.home-footer-social i{

    font-size:17px;
}

/* ========================================= */
/* TABLET */
/* ========================================= */

@media(max-width:992px){

    .home-footer{

        padding:60px 0 25px;
    }

    .home-footer-container{

        grid-template-columns:
        repeat(2,minmax(0,1fr));

        gap:35px;
    }

    .home-footer-bottom{

        gap:25px;
    }

}

/* ========================================= */
/* MOBILE */
/* ========================================= */

@media(max-width:600px){

    .home-footer{

        padding:50px 0 25px;
    }

    .home-footer-container{

        grid-template-columns:1fr;

        gap:30px;
    }

    .home-footer-column{

        text-align:left;
    }

    .home-footer-bottom{

        flex-direction:column;

        text-align:center;

        justify-content:center;
    }

    .home-footer-social{

        justify-content:center;
    }

}


.footer-links{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
    max-width:1400px;
    margin:auto;
}

.footer-links ul{
    padding:0;
    margin:0;
    list-style:none;
}

.footer-links li{
    margin-bottom:10px;
}








/* ===================================================== */
/* PREMIUM HOMEPAGE SEO + EEAT UI */
/* ===================================================== */

/* Premium Tool Cards */

.tools__item{
    position:relative;
    overflow:hidden;
}

.tools__item--premium{
    background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);
    border:2px solid #fff;
    box-shadow:0 8px 25px rgba(102,126,234,.25);
    transform:translateY(-2px);
    transition:.3s ease;
}

.tools__item--premium:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 35px rgba(102,126,234,.35);
}

.tools__item--premium h3,
.tools__item--premium .tools__item__content{
    color:#fff;
}

.tools__item--featured{
    background:linear-gradient(135deg,#ffecd2 0%,#fcb69f 100%);
    border:2px solid #ffb08c;
    transition:.3s ease;
}

.tools__item--featured:hover{
    transform:translateY(-4px);
}

/* Badges */

.badge{
    position:absolute;
    top:10px;
    right:10px;
    z-index:5;
    padding:5px 10px;
    border-radius:30px;
    font-size:11px;
    font-weight:700;
    letter-spacing:.5px;
    text-transform:uppercase;
}

.badge--new{
    background:#ff4d4d;
    color:#fff;
}

.badge--premium{
    background:#ffd700;
    color:#222;
}

.badge--featured{
    background:#00b894;
    color:#fff;
}

/* Hover Animation */

.tools__item__icon svg{
    transition:transform .3s ease;
}

.tools__item:hover .tools__item__icon svg{
    transform:scale(1.08);
}

/* Homepage Hub Links */

.homepage-hub-links{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:15px;
    margin:40px auto;
}

.homepage-hub-links a{
    background:#667eea;
    color:#fff;
    padding:12px 22px;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
    transition:.3s ease;
}

.homepage-hub-links a:hover{
    background:#764ba2;
}

/* EEAT Section */

.eeat-ultra{
    max-width:1100px;
    margin:auto;
    padding:40px 20px;
}

.eeat-ultra-header{
    text-align:center;
    margin-bottom:40px;
}

.eeat-ultra-header h2{
    font-size:38px;
    font-weight:700;
    background:linear-gradient(135deg,#667eea,#764ba2);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.eeat-ultra-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
}

.eeat-ultra-card{
    background:#fff;
    border-radius:20px;
    padding:30px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    transition:.3s ease;
}

.eeat-ultra-card:hover{
    transform:translateY(-8px);
}

.eeat-ultra-icon{
    width:60px;
    height:60px;
    border-radius:16px;
    background:linear-gradient(135deg,#667eea,#764ba2);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    margin-bottom:20px;
}

/* FAQ */

.faq-section{
    max-width:1100px;
    margin:auto;
    padding:40px 20px;
}

.faq-title{
    text-align:center;
    font-size:34px;
    margin-bottom:30px;
}

.faq-item{
    background:#fff;
    border-radius:14px;
    margin-bottom:15px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.05);
}

.faq-question{
    padding:20px;
    cursor:pointer;
    font-weight:600;
    position:relative;
}

.faq-question::after{
    content:"+";
    position:absolute;
    right:20px;
    font-size:22px;
}

.faq-item.active .faq-question::after{
    content:"−";
}

.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:max-height .3s ease;
}

.faq-answer p{
    padding:20px;
    margin:0;
    line-height:1.8;
}

.faq-item.active .faq-answer{
    max-height:400px;
}

/* Mobile */

@media(max-width:768px){

    .eeat-ultra-grid{
        grid-template-columns:1fr;
    }

    .home-title__title{
        font-size:30px;
        line-height:1.4;
    }

    .faq-title{
        font-size:28px;
    }

}


/* ========================================= */
/* PERFORMANCE + RENDER OPTIMIZATION */
/* ========================================= */

img{
    image-rendering:auto;
}

svg{
    shape-rendering:geometricPrecision;
}

.tools__item,
.tool-card,
.card,
.eeat-ultra-card{
    will-change:transform;
}

.home-footer,
.site-header{
    contain:layout style;
}



/* ========================================= */
/* ACCESSIBILITY IMPROVEMENTS */
/* ========================================= */

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus{
    outline:2px solid #667eea;
    outline-offset:2px;
}

@media (prefers-reduced-motion: reduce){

*{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
}

}




.buy-btn{
    background-color:crimson;
    color:#fff;
    padding:8px 16px;
    border-radius:6px;
    text-decoration:none;
    font-weight:700;
    margin-left:15px;
    display:inline-flex;
    align-items:center;
    gap:6px;
    transition:.3s ease;
}

.buy-btn:hover{
    background-color:#a50f2d;
}

.buy-btn .ico--cart::before{
    content:"🛒";
}


/* =====================================================
   PROPDFTOOL MOBILE CARD FIX
   Add at very bottom of style.css
===================================================== */

@media (max-width:768px){

    /* Tool card layout */
    .tools__item{
        min-height:auto !important;
        height:auto !important;
        padding:18px !important;
    }

    /* Stack icon + title + description vertically */
    .tools__item a{
        display:flex !important;
        flex-direction:column !important;
        align-items:flex-start !important;
        justify-content:flex-start !important;
        height:100%;
        width:100%;
    }

    /* Icon */
    .tools__item__icon{
        margin-bottom:12px !important;
        flex:none !important;
    }

    /* Content block */
    .tools__item__content{
        width:100% !important;
        min-width:0 !important;
        flex:none !important;
    }

    /* Title */
    .tools__item h3,
    .tools__item__content h3{
        display:block !important;
        width:100% !important;
        margin:0 0 8px 0 !important;
        line-height:1.35 !important;
    }

    /* Description */
    .tools__item__content p{
        display:block !important;
        width:100% !important;

        white-space:normal !important;
        overflow:visible !important;
        text-overflow:unset !important;

        word-break:break-word !important;
        overflow-wrap:break-word !important;

        line-height:1.6 !important;
        margin:0 !important;
    }

}


/* =====================================================
   PREMIUM CARD TEXT FIX
===================================================== */

.tools__item--premium h3,
.tools__item--premium p,
.tools__item--premium .tools__item__content,
.tools__item--premium .tools__item__content p{
    color:#ffffff !important;
}


/* =====================================================
   EXTRA SAFETY FIX FOR SMALL DEVICES
===================================================== */

@media (max-width:480px){

    .tools__item{
        padding:16px !important;
    }

    .tools__item h3{
        font-size:16px !important;
        line-height:1.35 !important;
    }

    .tools__item__content p{
        font-size:13px !important;
        line-height:1.55 !important;
    }

}