/*
Theme Name: My Custom Theme
Author: Sagar kumar
Version: 1.0
/*

/* Add your CSS styles here */
:root {
    --primary-color: #4A90E2;
    --secondary-color: #6c757d;
    --success-color: #2ECC71;
    --background-color: #f8f9fa;
    --border-radius: 12px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --text-color: #333;
    --hover-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    min-height: 100vh;
}

.tool-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    height: 100%;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #ffffff;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.tool-icon {
    font-size: 2rem;
    line-height: 1;
    opacity: 0.9;
}

.tool-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.tool-card:hover .tool-icon {
    transform: scale(1.1) rotate(5deg);
}

.tool-icon {
    transition: transform 0.3s ease;
    transform-origin: center;
}

[data-category] {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: calc(var(--animation-order, 0) * 0.1s);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-brand {
    background: linear-gradient(45deg, var(--primary-color), #2ECC71);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.search-container input {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(74, 144, 226, 0.1);
    transition: all 0.3s ease;
}

.search-container input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color) !important;
}

/* Tool Card Styles */
.tool-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border-radius: var(--border-radius);
    border: none;
    background: white;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transition: transform 0.3s ease;
}

.image-tools .tool-card::before { background: var(--image-tools-color); }
.seo-tools .tool-card::before { background: var(--seo-tools-color); }
.text-tools .tool-card::before { background: var(--text-tools-color); }
.developer-tools .tool-card::before { background: var(--dev-tools-color); }
.math-tools .tool-card::before { background: var(--math-tools-color); }
.security-tools .tool-card::before { background: var(--security-tools-color); }
.social-media-tools .tool-card::before { background: var(--social-tools-color); }
.misc-tools .tool-card::before { background: var(--misc-tools-color); }

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tool-card:hover::before {
    transform: scaleX(1.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.tool-card:nth-child(2n) {
    animation-delay: 0.2s;
}

.tool-card:nth-child(3n) {
    animation-delay: 0.4s;
}

.tool-card .card-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.tool-card .card-text {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* Search Bar */
.search-container {
    max-width: 600px;
    margin: 2rem auto;
    position: relative;
}

#searchInput {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: all 0.3s ease;
}

#searchInput:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
    outline: none;
}

/* Search Results */
#searchResults {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

/* Category Sections */
section h2 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: none;
}

/* Footer Styles */
footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

footer h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .tool-card .card-title {
        font-size: 1.1rem;
    }

    .ad-section {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    section h2 {
        font-size: 1.3rem;
    }

    .tool-card {
        margin-bottom: 1rem;
    }
}