: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);
}

[data-bs-theme="dark"] {
    --primary-color: #e63947;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #212529;
    --dark-color: #f8f9fa;
    --card-hover-shadow: 0 10px 20px rgba(230, 57, 71, 0.3);
    
    background-color: #1a1a1a;
    color: #ffffff;
}

/* Base Styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

[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 =================== */



