/* Tools page styles */
.content {
    margin-top: 100px;
    padding: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.content h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

/* Tools header styles */
.tools-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.tools-header h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.tools-header h1:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #007BFF, #00c6ff);
    border-radius: 3px;
}

.tools-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.tools-intro {
    text-align: center;
    margin-bottom: 50px;
}

.tools-intro h2 {
    font-size: 28px;
    color: #007BFF;
    margin-bottom: 15px;
}

.tools-intro p {
    font-size: 16px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.tool-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.tool-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #007BFF, #00c6ff);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.tool-card-hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.2);
}

.tool-card-hover:before {
    transform: translateY(0);
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e6f3ff, #cce5ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.tool-card-hover .tool-icon {
    background: linear-gradient(135deg, #cce5ff, #99caff);
}

.tool-icon i {
    font-size: 24px;
    color: #007BFF;
    transition: all 0.3s ease;
}

.tool-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.tool-card-hover h3 {
    color: #007BFF;
}

.tool-card p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.tool-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tool-link {
    padding: 6px 12px;
    background-color: #f0f7ff;
    color: #007BFF;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tool-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #007BFF;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.tool-link:hover {
    color: white;
}

.tool-link:hover:before {
    transform: translateX(0);
}

/* Animation for tool cards */
.tool-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.tool-card:not(.visible) {
    opacity: 0;
    transform: translateY(20px);
}

/* Dropdown menu styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    position: relative;
    padding-right: 30px !important;
}

.dropdown-toggle .fa-chevron-down {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    margin-left: 5px;
    transition: transform 0.3s ease;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
}

.dropdown-toggle .fa-chevron-down:hover {
    background-color: rgba(0, 123, 255, 0.2);
}

.dropdown.show .fa-chevron-down {
    transform: translateY(-50%) rotate(180deg);
    background-color: rgba(0, 123, 255, 0.2);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 200px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
}

.dropdown-item:hover,
.dropdown-item.active {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.dropdown-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
    padding: 12px 15px;
    background-color: #f0f7ff;
    border-radius: 8px;
    border-left: 3px solid #007BFF;
    transition: all 0.3s ease;
}

.dropdown-title i {
    color: #007BFF;
    font-size: 16px;
    transition: all 0.3s ease;
}

.dropdown-item:hover .dropdown-title {
    background-color: #e3f0ff;
    color: #0056b3;
}

.dropdown-item:hover .dropdown-title i {
    transform: scale(1.1);
}

/* Responsive styles */
@media (max-width: 992px) {
    .tools-header h1 {
        font-size: 28px;
    }
    
    .tools-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        width: 100%;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 20px;
        margin-top: 10px;
        opacity: 1;
        visibility: visible;
        display: none;
    }
    
    .dropdown.show .dropdown-menu {
        display: flex;
        transform: none;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .tool-card {
        padding: 20px;
    }
    
    .tools-header h1 {
        font-size: 24px;
    }
    
    .tools-subtitle {
        font-size: 14px;
    }
} 